[patch, hppa] Add hppa[12]*-*-hpux* to list of non-elf platforms
Steve Ellcey
sje@cup.hp.com
Tue Apr 13 21:01:00 GMT 2010
While building libelf to support -flto I accidently built it for
hppa2.0w-hp-hpux11.11 which is a non-elf platform. Because the library
build worked, GCC saw the library and tried to include (and test) -flto
support for this platform and it failed because the platform is not elf.
This patch changes config/elf.m4 to add 'hppa[12]*-*-hpux*' to the list
of non-elf platforms in elf.m4 and regenerates the top-level configure
script to include that change. We check for 'hppa[12]' because
'hppa*64*' is an elf platform.
Tested on hppa2.0w-hp-hpux11.11 with no regressions, OK to check in?
Steve Ellcey
sje@cup.hp.com
ChangeLog for the top-level configure regeneration:
2010-04-13 Steve Ellcey <sje@cup.hp.com>
* configure: Regenerate after change to elf.m4.
ChangeLog for the config subdir:
2010-04-13 Steve Ellcey <sje@cup.hp.com>
* elf.m4: Add hppa[12]*-*-hpux* to list of non-elf platforms.
Index: elf.m4
===================================================================
--- elf.m4 (revision 158252)
+++ elf.m4 (working copy)
@@ -15,7 +15,7 @@ target_elf=no
case $target in
*-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
*-msdosdjgpp* | *-netware* | *-vms* | *-wince* | *-*-pe* | \
- alpha*-dec-osf* | *-interix*)
+ alpha*-dec-osf* | *-interix* | hppa[[12]]*-*-hpux*)
target_elf=no
;;
*)
More information about the Gcc-patches
mailing list