]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-09-23 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <drow@false.org>
Mon, 23 Sep 2002 22:15:30 +0000 (22:15 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 23 Sep 2002 22:15:30 +0000 (22:15 +0000)
Merge from mainline:
2002-09-19  Jakub Jelinek  <jakub@redhat.com>
* ld-i386/i386.exp: New.
* ld-i386/tlsbin.dd: New test.
* ld-i386/tlsbinpic.s: New test.
* ld-i386/tlsbin.rd: New test.
* ld-i386/tlsbin.s: New test.
* ld-i386/tlsbin.sd: New test.
* ld-i386/tlsbin.td: New test.
* ld-i386/tlslib.s: New test.
* ld-i386/tlsnopic1.s: New test.
* ld-i386/tlsnopic2.s: New test.
* ld-i386/tlsnopic.dd: New test.
* ld-i386/tlsnopic.rd: New test.
* ld-i386/tlsnopic.sd: New test.
* ld-i386/tlspic1.s: New test.
* ld-i386/tlspic2.s: New test.
* ld-i386/tlspic.dd: New test.
* ld-i386/tlspic.rd: New test.
* ld-i386/tlspic.sd: New test.
* ld-i386/tlspic.td: New test.

2002-08-13  H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add vers23c and vers23d.

* ld-elfvers/vers23c.ver: New.
* ld-elfvers/vers23d.dsym: New.

2002-08-12  H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add vers23.

* ld-elfvers/vers23.c: New.
* ld-elfvers/vers23.dsym: New.
* ld-elfvers/vers23.ver: New.
* ld-elfvers/vers23a.c: New.
* ld-elfvers/vers23a.dsym: New.
* ld-elfvers/vers23a.map: New.
* ld-elfvers/vers23a.sym: New.
* ld-elfvers/vers23a.ver: New.
* ld-elfvers/vers23b.c: New.
* ld-elfvers/vers23b.dsym: New.
* ld-elfvers/vers23b.map: New.
* ld-elfvers/vers23b.ver: New.

2002-08-10  Alan Modra  <amodra@bigpond.net.au>
* ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
* ld-linkonce/linkonce.exp: Likewise.
* ld-selective/sel-dump.exp: Likewise.
* ld-selective/selective.exp: Don't run on aout or bout.

2002-08-08  H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add vers22.

* ld-elfvers/vers22.c: New.
* ld-elfvers/vers22.dsym: New.
* ld-elfvers/vers22.map: New.
* ld-elfvers/vers22.ver: New.
* ld-elfvers/vers22a.c: New.
* ld-elfvers/vers22a.dsym: New.
* ld-elfvers/vers22a.sym: New.
* ld-elfvers/vers22a.ver: New.
* ld-elfvers/vers22b.c: New.
* ld-elfvers/vers22b.dsym: New.
* ld-elfvers/vers22b.ver: New.

2002-08-08  Stephen Clarke <stephen.clarke@superh.com>
* ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section
listing.
* ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise.

2002-08-07  H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add --no-undefined-version.

* ld-elfvers/vers1.map: Remove the unused foo1 and foo2.
* ld-elfvers/vers8.map: Likewise.
* ld-elfvers/vers18.map: Likewise.

2002-08-07  Stephen Clarke <stephen.clarke@superh.com>
* ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols
is no longer set to object.
* ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd,
ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd,
ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd,
ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd,
ld-sh/sh64/shdl64.xd: Likewise.

2002-08-06  H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add --no-undefined-version.

* ld-elfvers/vers1.map: Remove the unused foo1 and foo2.
* ld-elfvers/vers8.map: Likewise.
* ld-elfvers/vers18.map: Likewise.

2002-07-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
* ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target.
* ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp,
ld-linkonce/linkonce.exp, ld-shared/shared.exp,
ld-undefined/weak-undef.exp:  Test hppa*64*-*-hpux* and hppa*-*-linux*
targets.
* ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s,
ld-discard/static.s: Add whitespace before assembler directives.

2002-07-15  H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add vers21.

* ld-elfvers/vers21.c: New.
* ld-elfvers/vers21.dsym: New.
* ld-elfvers/vers21.map: New.
* ld-elfvers/vers21.sym: New.
* ld-elfvers/vers21.ver: New.

32 files changed:
ld/testsuite/ChangeLog
ld/testsuite/ld-discard/discard.exp
ld/testsuite/ld-discard/exit.s
ld/testsuite/ld-discard/extern.s
ld/testsuite/ld-discard/start.s
ld/testsuite/ld-discard/static.s
ld/testsuite/ld-elfvers/vers.exp
ld/testsuite/ld-elfvers/vers1.map
ld/testsuite/ld-elfvers/vers18.map
ld/testsuite/ld-elfvers/vers8.map
ld/testsuite/ld-elfvsb/elfvsb.exp
ld/testsuite/ld-elfweak/elfweak.exp
ld/testsuite/ld-linkonce/linkonce.exp
ld/testsuite/ld-scripts/phdrs.exp
ld/testsuite/ld-scripts/phdrs2.exp
ld/testsuite/ld-selective/sel-dump.exp
ld/testsuite/ld-selective/selective.exp
ld/testsuite/ld-sh/sh64/abi32.xd
ld/testsuite/ld-sh/sh64/abi64.xd
ld/testsuite/ld-sh/sh64/cmpct1.xd
ld/testsuite/ld-sh/sh64/crange1.rd
ld/testsuite/ld-sh/sh64/crange2.rd
ld/testsuite/ld-sh/sh64/crange3-cmpct.rd
ld/testsuite/ld-sh/sh64/crange3-media.rd
ld/testsuite/ld-sh/sh64/crange3.rd
ld/testsuite/ld-sh/sh64/mix1.xd
ld/testsuite/ld-sh/sh64/mix2.xd
ld/testsuite/ld-sh/sh64/rel32.xd
ld/testsuite/ld-sh/sh64/shdl32.xd
ld/testsuite/ld-sh/sh64/shdl64.xd
ld/testsuite/ld-shared/shared.exp
ld/testsuite/ld-undefined/weak-undef.exp

index c5b29261c8979a01c6593819744cbecdcbd75b1c..9075adc7c430f60ecced10e9ea046370e41bf817 100644 (file)
@@ -1,3 +1,118 @@
+2002-09-23  Daniel Jacobowitz  <drow@mvista.com>
+
+       Merge from mainline:
+       2002-09-19  Jakub Jelinek  <jakub@redhat.com>
+       * ld-i386/i386.exp: New.
+       * ld-i386/tlsbin.dd: New test.
+       * ld-i386/tlsbinpic.s: New test.
+       * ld-i386/tlsbin.rd: New test.
+       * ld-i386/tlsbin.s: New test.
+       * ld-i386/tlsbin.sd: New test.
+       * ld-i386/tlsbin.td: New test.
+       * ld-i386/tlslib.s: New test.
+       * ld-i386/tlsnopic1.s: New test.
+       * ld-i386/tlsnopic2.s: New test.
+       * ld-i386/tlsnopic.dd: New test.
+       * ld-i386/tlsnopic.rd: New test.
+       * ld-i386/tlsnopic.sd: New test.
+       * ld-i386/tlspic1.s: New test.
+       * ld-i386/tlspic2.s: New test.
+       * ld-i386/tlspic.dd: New test.
+       * ld-i386/tlspic.rd: New test.
+       * ld-i386/tlspic.sd: New test.
+       * ld-i386/tlspic.td: New test.
+
+       2002-08-13  H.J. Lu <hjl@gnu.org>
+       * ld-elfvers/vers.exp: Add vers23c and vers23d.
+
+       * ld-elfvers/vers23c.ver: New.
+       * ld-elfvers/vers23d.dsym: New.
+
+       2002-08-12  H.J. Lu <hjl@gnu.org>
+       * ld-elfvers/vers.exp: Add vers23.
+
+       * ld-elfvers/vers23.c: New.
+       * ld-elfvers/vers23.dsym: New.
+       * ld-elfvers/vers23.ver: New.
+       * ld-elfvers/vers23a.c: New.
+       * ld-elfvers/vers23a.dsym: New.
+       * ld-elfvers/vers23a.map: New.
+       * ld-elfvers/vers23a.sym: New.
+       * ld-elfvers/vers23a.ver: New.
+       * ld-elfvers/vers23b.c: New.
+       * ld-elfvers/vers23b.dsym: New.
+       * ld-elfvers/vers23b.map: New.
+       * ld-elfvers/vers23b.ver: New.
+
+       2002-08-10  Alan Modra  <amodra@bigpond.net.au>
+       * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
+       * ld-linkonce/linkonce.exp: Likewise.
+       * ld-selective/sel-dump.exp: Likewise.
+       * ld-selective/selective.exp: Don't run on aout or bout.
+
+       2002-08-08  H.J. Lu <hjl@gnu.org>
+       * ld-elfvers/vers.exp: Add vers22.
+
+       * ld-elfvers/vers22.c: New.
+       * ld-elfvers/vers22.dsym: New.
+       * ld-elfvers/vers22.map: New.
+       * ld-elfvers/vers22.ver: New.
+       * ld-elfvers/vers22a.c: New.
+       * ld-elfvers/vers22a.dsym: New.
+       * ld-elfvers/vers22a.sym: New.
+       * ld-elfvers/vers22a.ver: New.
+       * ld-elfvers/vers22b.c: New.
+       * ld-elfvers/vers22b.dsym: New.
+       * ld-elfvers/vers22b.ver: New.
+
+       2002-08-08  Stephen Clarke <stephen.clarke@superh.com>
+       * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section
+       listing.
+       * ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
+       ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise.
+
+       2002-08-07  H.J. Lu <hjl@gnu.org>
+       * ld-elfvers/vers.exp: Add --no-undefined-version.
+
+       * ld-elfvers/vers1.map: Remove the unused foo1 and foo2.
+       * ld-elfvers/vers8.map: Likewise.
+       * ld-elfvers/vers18.map: Likewise.
+
+       2002-08-07  Stephen Clarke <stephen.clarke@superh.com>
+       * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols
+       is no longer set to object.
+       * ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd,
+       ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd,
+       ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd,
+       ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd,
+       ld-sh/sh64/shdl64.xd: Likewise.
+
+       2002-08-06  H.J. Lu <hjl@gnu.org>
+       * ld-elfvers/vers.exp: Add --no-undefined-version.
+
+       * ld-elfvers/vers1.map: Remove the unused foo1 and foo2.
+       * ld-elfvers/vers8.map: Likewise.
+       * ld-elfvers/vers18.map: Likewise.
+
+       2002-07-28  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+       * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
+       ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target.
+       * ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp,
+       ld-linkonce/linkonce.exp, ld-shared/shared.exp,
+       ld-undefined/weak-undef.exp:  Test hppa*64*-*-hpux* and hppa*-*-linux*
+       targets.
+       * ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s,
+       ld-discard/static.s: Add whitespace before assembler directives.
+
+       2002-07-15  H.J. Lu <hjl@gnu.org>
+       * ld-elfvers/vers.exp: Add vers21.
+
+       * ld-elfvers/vers21.c: New.
+       * ld-elfvers/vers21.dsym: New.
+       * ld-elfvers/vers21.map: New.
+       * ld-elfvers/vers21.sym: New.
+       * ld-elfvers/vers21.ver: New.
+
 2002-08-15  Hans-Peter Nilsson  <hp@axis.com>
 
        * ld-cris/libdso-4.d, ld-cris/undef1.d: New test.
index da60e90666b4ab408037707cdead312a63a9961c..03437a167f56feae2f13e0c755729c84310de426 100644 (file)
 # Test for ELF here, so we don't have to qualify on ELF specifically
 # in every .d-file.
 
-if { ![istarget *-*-linux*] && ![istarget *-*-gnu] && ![istarget *-*-elf] } {
+if { ![istarget *-*-linux*] \
+     && ![istarget *-*-gnu] \
+     && ![istarget hppa*64*-*-hpux*] \
+     && ![istarget *-*-elf] } {
+    return
+}
+
+if { [istarget *-*-linux*aout*] \
+     || [istarget *-*-linux*oldld*] } {
     return
 }
 
index 80acef5c64eaee98fd33dd7a67df12a53bc40270..cc6786cb42456d4bc6aea2841d875175434238cd 100644 (file)
@@ -1,6 +1,6 @@
-.globl data
+       .globl data
        .section        .data.exit,"aw"
 data:
-.globl text
+       .globl text
        .section        .text.exit,"aw"
 text:
index da8e27603ea453bc40ef11ddd1fd1fbd539d9ed0..f54a8a0ce75dc990fcafa2eb68efcc1d5551850b 100644 (file)
@@ -1,11 +1,11 @@
-.globl data
+       .globl data
        .section        .data.exit,"aw"
 data:
-.globl text
+       .globl text
        .section        .text.exit,"aw"
 text:
-.text
-.globl _start
+       .text
+       .globl _start
 _start:
        .long   data
        .section        .debug_info
index 82290c6bfa3b2a182c67249d91cf6eaacc3d5a1e..9a6749e13a8b50f60731799239dd46b540274881 100644 (file)
@@ -1,5 +1,5 @@
-.text
-.globl _start
+       .text
+       .globl _start
 _start:
        .long   data
        .section        .debug_info
index b251c8b5ebac47679b1eceec88614cbb86c2afa0..d6a6c6812144384a31d9ae35ce93b19128e97ef3 100644 (file)
@@ -2,8 +2,8 @@
 data:
        .section        .text.exit,"aw"
 text:
-.text
-.globl _start
+       .text
+       .globl _start
 _start:
        .long   data
        .section        .debug_info
index 48ba4ca5d685df31ed2a8271746bccdbc4f6c4b4..4cd76b9173fde6d2d3928f47e4d6a1c7991d609e 100644 (file)
@@ -25,7 +25,9 @@ if ![isnative] then {return}
 # This test can only be run on a couple of ELF platforms.
 # Square bracket expressions seem to confuse istarget.
 # This is similar to the test that is used in ld-shared, BTW.
-if { ![istarget i?86-*-sysv4*] \
+if { ![istarget hppa*64*-*-hpux*] \
+     && ![istarget hppa*-*-linux*] \
+     && ![istarget i?86-*-sysv4*] \
      && ![istarget i?86-*-unixware] \
      && ![istarget i?86-*-elf*] \
      && ![istarget i?86-*-linux*] \
@@ -60,7 +62,7 @@ set tmpdir tmpdir
 set VOBJDUMP_FLAGS --private-headers
 set DOBJDUMP_FLAGS --dynamic-syms
 set SOBJDUMP_FLAGS --syms
-set shared --shared
+set shared "--shared --no-undefined-version"
 set script --version-script
 
 proc test_ar { test lib object expect } {
@@ -641,7 +643,7 @@ proc build_exec { test source execname flags solibname verexp versymexp symexp }
     global CC
     global CFLAGS
 
-    set shared --shared
+    set shared "--shared --no-undefined-version"
     set script --version-script
     if ![ld_compile "$CC -S $CFLAGS" $srcdir/$subdir/$source $tmpdir/$execname.s]     {
        unresolved "$test"
@@ -821,3 +823,18 @@ build_exec "vers19" vers19.c vers19 "-rpath ." vers18.so vers19.ver vers19.dsym
 build_vers_lib "vers20a" vers20.c vers20a "" vers20.map vers20a.ver vers20.dsym ""
 exec cp $tmpdir/vers20a.so $tmpdir/vers20b.so
 build_vers_lib "vers20" vers20.c vers20 "vers20a.so vers20b.so" vers20.map vers20.ver vers20.dsym ""
+
+# Test .symver override.
+build_vers_lib "vers21" vers21.c vers21 "" vers21.map vers21.ver vers21.dsym vers21.sym
+
+# Test moving default definition from one DSO to another.
+build_vers_lib "vers22a" vers22a.c vers22a "" vers22.map vers22a.ver vers22a.dsym vers22a.sym
+build_vers_lib "vers22b" vers22b.c vers22b "" vers22.map vers22b.ver vers22b.dsym ""
+build_vers_lib "vers22" vers22.c vers22 "vers22a.so vers22b.so" "" vers22.ver vers22.dsym ""
+
+# Test versioned definitions in different files.
+build_vers_lib "vers23a" vers23a.c vers23a "" vers23a.map vers23a.ver vers23a.dsym vers23a.sym
+build_vers_lib "vers23b" vers23b.c vers23b "" vers23b.map vers23b.ver vers23b.dsym ""
+build_vers_lib "vers23c" vers23b.c vers23c "vers23a.so" vers23b.map vers23c.ver vers23b.dsym ""
+build_exec "vers23d" vers23.c vers23d "tmpdir/vers23a.so tmpdir/vers23c.so" "" vers23.ver vers23d.dsym ""
+build_exec "vers23" vers23.c vers23 "tmpdir/vers23a.so tmpdir/vers23b.o tmpdir/vers23b.so" "" vers23.ver vers23.dsym ""
index 8fc37bcaf0fd19c38a9b182e701033122a409c75..767915cd7f811ae1b6ce58b23883fef0d08e260f 100644 (file)
@@ -1,6 +1,4 @@
 VERS_1.1 {
-        global:
-                foo1;
         local:
                 hide_old*; 
                 hide_original*; 
@@ -8,7 +6,6 @@ VERS_1.1 {
 };
 
 VERS_1.2 {
-                foo2;
 } VERS_1.1;
 
 VERS_2.0 {
index eac2b0e3dcb94ef938a9b60bdca0aa35b5a37b29..8dcff39b6f03be2c1b9418e96d1bffd67e89a738 100644 (file)
@@ -1,6 +1,4 @@
 VERS_1.1 {
-        global:
-                foo1;
         local:
                 hide_old*; 
                 hide_original*; 
@@ -8,7 +6,6 @@ VERS_1.1 {
 };
 
 VERS_1.2 {
-                foo2;
 } VERS_1.1;
 
 VERS_2.0 {
index 26359559d9f95ba471f923d7343fe5cb62a58e26..c24fb107afee7e3b49650e5a7a2f2a5e1d61a5b7 100644 (file)
@@ -1,7 +1,5 @@
 VERSION {
        VERS_1.1 {
-                global:
-                        foo1;
                 local:
                         hide_old*; 
                         hide_original*; 
@@ -9,7 +7,6 @@ VERSION {
        };
        
        VERS_1.2 {
-                        foo2;
        } VERS_1.1;
        
        VERS_2.0 {
index eb72b0c2cadb1884c28925af71b8733d7e8141c9..d73f679deec65620c7f15275077af9217496b4ed 100644 (file)
@@ -26,7 +26,9 @@ if ![isnative] then {return}
 
 # This test can only be run on a couple of ELF platforms.
 # Square bracket expressions seem to confuse istarget.
-if { ![istarget i?86-*-linux*] \
+if { ![istarget hppa*64*-*-hpux*] \
+     && ![istarget hppa*-*-linux*] \
+     && ![istarget i?86-*-linux*] \
      && ![istarget ia64-*-linux*] \
      && ![istarget m68k-*-linux*] \
      && ![istarget mips*-*-linux*] \
index bfefa115f118e152bd9c4f86af32817aad946383..11dd323780dcb6f94ea27109b22970253db8f368 100644 (file)
@@ -25,7 +25,9 @@ if ![isnative] then {return}
 # This test can only be run on a couple of ELF platforms.
 # Square bracket expressions seem to confuse istarget.
 # This is similar to the test that is used in ld-shared, BTW.
-if { ![istarget i?86-*-sysv4*] \
+if { ![istarget hppa*64*-*-hpux*] \
+     && ![istarget hppa*-*-linux*] \
+     && ![istarget i?86-*-sysv4*] \
      && ![istarget i?86-*-unixware] \
      && ![istarget i?86-*-elf*] \
      && ![istarget i?86-*-linux*] \
index d3be491a8cf25b814b7501b962dd81780fc8c325..e301244eecb81f7b737b59322d1a2a721d3f6af5 100644 (file)
 # Test for ELF here (or really, .gnu.linkonce functionality), so we don't
 # have to qualify on ELF specifically in every .d-file.
 
-if { ![istarget *-*-linux*] && ![istarget *-*-gnu] && ![istarget *-*-elf] } {
+if { ![istarget *-*-linux*] \
+     && ![istarget *-*-gnu] \
+     && ![istarget hppa*64*-*-hpux*] \
+     && ![istarget *-*-elf] } {
+    return
+}
+
+if { [istarget *-*-linux*aout*] \
+     || [istarget *-*-linux*oldld*] } {
     return
 }
 
index 4c142c636c5fdc5f9f028594f15b999fb93b7a9f..7901d79d39d66e4091ae567bfbab4f30d42297e1 100644 (file)
@@ -22,6 +22,7 @@ if { ![istarget *-*-sysv4*] \
      && ![istarget *-*-unixware*] \
      && ![istarget *-*-elf*] \
      && ![istarget *-*-eabi*] \
+     && ![istarget hppa*64*-*-hpux*] \
      && ![istarget *-*-linux*] \
      && ![istarget *-*-irix5*] \
      && ![istarget *-*-irix6*] \
index bbe36d08e91a88cfd3d12992d1e17329bf6d2d6c..48f24c550da209faa762604e09d8d435fe7f01f2 100644 (file)
@@ -19,6 +19,7 @@ if {    ![istarget *-*-sysv4*] \
      && ![istarget *-*-unixware*] \
      && ![istarget *-*-elf*] \
      && ![istarget *-*-eabi*] \
+     && ![istarget hppa*64*-*-hpux*] \
      && ![istarget *-*-linux*] \
      && ![istarget *-*-irix5*] \
      && ![istarget *-*-irix6*] \
index ee4de621aa4534b6f90d736684fecfda70ff1c56..273271c728babc00c0989459f90ce8f518ecec74 100644 (file)
 
 if { ![istarget *-*-linux*]
      && ![istarget *-*-gnu]
+     && ![istarget hppa*64*-*-hpux*]
      && ![istarget *-*-elf] } {
     return
 }
 
+if { [istarget *-*-linux*aout*] \
+     || [istarget *-*-linux*oldld*] } {
+    return
+}
+
 load_lib ld-lib.exp
 
 set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
index 902600ae5a380be5221f4cd9c1c075c26c47c7fa..e88ce1fc4a81a8b26b375e1b29830e86ef9637a6 100644 (file)
@@ -20,7 +20,9 @@
 
 
 # AOUT based ports do not support selective linking
-if {[istarget "vax-*-ultrix*"]} {
+if {[istarget "*-*-*aout*"] \
+    || [istarget "*-*-*bout*"] \
+    || [istarget "vax-*-ultrix*"]} {
     return
 }
 
index bd918ff501b4a0122906910b6210d78e89fd5393..fdd575012fdf4c9e9c702f1afb9e29f3de92281e 100644 (file)
@@ -12,7 +12,7 @@ Program Header:
          filesz 0x0+18 memsz 0x0+18 flags rw-
 
 Sections:
-Idx Name          Size      VMA               LMA               File off  Algn
+Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         00000064  0+1000  0+1000  00000080  2\*\*0
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
   1 \.data         00000018  0+10e8  0+10e8  000000e8  2\*\*0
@@ -43,16 +43,16 @@ SYMBOL TABLE:
 0+1060 l       \.text  0+ 0x04 plugh
 0+10f8 g       \.data  0+ foobar
 0+10e8 g       \.data  0+ baz
-0+1100 g     O \.dtors 0+ ___dtors
+0+1100 g       \.dtors 0+ ___dtors
 0+105c g       \.text  0+ 0x04 xyzzy
-0+1100 g     O \*ABS\* 0+ __bss_start
-0+1100 g     O \.ctors 0+ ___ctors_end
+0+1100 g       \*ABS\* 0+ __bss_start
+0+1100 g       \.ctors 0+ ___ctors_end
 0+10f0 g       \.data  0+ baz2
-0+1100 g     O \.ctors 0+ ___ctors
+0+1100 g       \.ctors 0+ ___ctors
 0+1000 g       \.text  0+ 0x04 foo
-0+1100 g     O \*ABS\* 0+ _edata
-0+1100 g     O \*ABS\* 0+ _end
+0+1100 g       \*ABS\* 0+ _edata
+0+1100 g       \*ABS\* 0+ _end
 0+1010 g       \.text  0+ 0x04 start
 0+100c g       \.text  0+ 0x04 bar
-0+80000 g     O \.stack        0+ _stack
-0+1100 g     O \.dtors 0+ ___dtors_end
+0+80000 g       \.stack        0+ _stack
+0+1100 g       \.dtors 0+ ___dtors_end
index 1b9e9044dce5ba649245b5229021ccfe4ddcfd03..4a1ba0d7688fffe84c4628f0008a47066e31f9fb 100644 (file)
@@ -42,16 +42,16 @@ SYMBOL TABLE:
 00000000000010a8 l       \.text        0000000000000000 0x04 plugh
 0000000000001140 g       \.data        0000000000000000 foobar
 0000000000001130 g       \.data        0000000000000000 baz
-0000000000001148 g     O \.dtors       0000000000000000 ___dtors
+0000000000001148 g       \.dtors       0000000000000000 ___dtors
 00000000000010a4 g       \.text        0000000000000000 0x04 xyzzy
-0000000000001148 g     O \*ABS\*       0000000000000000 __bss_start
-0000000000001148 g     O \.ctors       0000000000000000 ___ctors_end
+0000000000001148 g       \*ABS\*       0000000000000000 __bss_start
+0000000000001148 g       \.ctors       0000000000000000 ___ctors_end
 0000000000001138 g       \.data        0000000000000000 baz2
-0000000000001148 g     O \.ctors       0000000000000000 ___ctors
+0000000000001148 g       \.ctors       0000000000000000 ___ctors
 0000000000001000 g       \.text        0000000000000000 0x04 foo
-0000000000001148 g     O \*ABS\*       0000000000000000 _edata
-0000000000001148 g     O \*ABS\*       0000000000000000 _end
+0000000000001148 g       \*ABS\*       0000000000000000 _edata
+0000000000001148 g       \*ABS\*       0000000000000000 _end
 0000000000001018 g       \.text        0000000000000000 0x04 start
 0000000000001014 g       \.text        0000000000000000 0x04 bar
-0000000000080000 g     O \.stack       0000000000000000 _stack
-0000000000001148 g     O \.dtors       0000000000000000 ___dtors_end
+0000000000080000 g       \.stack       0000000000000000 _stack
+0000000000001148 g       \.dtors       0000000000000000 ___dtors_end
index 296aebd3e5d606734902aaad652c0cf6e7e346ce..9c09c462231aa1c2ee65e8548494b701103ffb36 100644 (file)
@@ -12,7 +12,7 @@ Program Header:
          filesz 0x0+ memsz 0x0+ flags rw-
 
 Sections:
-Idx Name          Size      VMA               LMA               File off  Algn
+Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         00000008  0+1000  0+1000  00000080  2\*\*0
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
   1 \.rodata       0000000c  0+1008  0+1008  00000088  2\*\*0
@@ -44,12 +44,12 @@ SYMBOL TABLE:
 0+1004 l       \.text  0+ next
 0+100c l       \.rodata        0+ here
 0+ l       \*ABS\*     0+ \*ABS\*
-0+1098 g     O \.dtors 0+ ___dtors
-0+1098 g     O \*ABS\* 0+ __bss_start
-0+1098 g     O \.ctors 0+ ___ctors_end
-0+1098 g     O \.ctors 0+ ___ctors
-0+1098 g     O \*ABS\* 0+ _edata
-0+1098 g     O \*ABS\* 0+ _end
+0+1098 g       \.dtors 0+ ___dtors
+0+1098 g       \*ABS\* 0+ __bss_start
+0+1098 g       \.ctors 0+ ___ctors_end
+0+1098 g       \.ctors 0+ ___ctors
+0+1098 g       \*ABS\* 0+ _edata
+0+1098 g       \*ABS\* 0+ _end
 0+1000 g       \.text  0+ start
-0+80000 g     O \.stack        0+ _stack
-0+1098 g     O \.dtors 0+ ___dtors_end
+0+80000 g       \.stack        0+ _stack
+0+1098 g       \.dtors 0+ ___dtors_end
index 3824a7821e3aee74d39e04c013c1254ad9721781..7ce3e17cc4afcbe7ddf062e3d1de6fde4045129f 100644 (file)
@@ -38,16 +38,16 @@ Symbol table '\.symtab' contains 24 entries:
     11: 00000000     0 SECTION LOCAL  DEFAULT   11 
     12: 00000000     0 SECTION LOCAL  DEFAULT   12 
     13: 00001004     0 NOTYPE  LOCAL  DEFAULT    2 start2
-    14: 000010a0     0 OBJECT  GLOBAL DEFAULT    5 ___dtors
-    15: 000010a0     0 OBJECT  GLOBAL DEFAULT  ABS __bss_start
-    16: 000010a0     0 OBJECT  GLOBAL DEFAULT    4 ___ctors_end
+    14: 000010a0     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors
+    15: 000010a0     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
+    16: 000010a0     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors_end
     17: 00001004     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    18: 000010a0     0 OBJECT  GLOBAL DEFAULT    4 ___ctors
-    19: 000010a0     0 OBJECT  GLOBAL DEFAULT  ABS _edata
-    20: 000010a0     0 OBJECT  GLOBAL DEFAULT  ABS _end
+    18: 000010a0     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors
+    19: 000010a0     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
+    20: 000010a0     0 NOTYPE  GLOBAL DEFAULT  ABS _end
     21: 00001000     0 NOTYPE  GLOBAL DEFAULT    1 start
-    22: 00080000     0 OBJECT  GLOBAL DEFAULT    8 _stack
-    23: 000010a0     0 OBJECT  GLOBAL DEFAULT    5 ___dtors_end
+    22: 00080000     0 NOTYPE  GLOBAL DEFAULT    8 _stack
+    23: 000010a0     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors_end
 
 Hex dump of section '\.init':
   0x00001000 6ff0fff0                            .*
index 4231780df2518dd36854e5f7d1b6a0c66ffa63ff..1a4f76d55c53f23db7e017565890dc25bf285d2d 100644 (file)
@@ -42,16 +42,16 @@ Symbol table '\.symtab' contains 28 entries:
     15: 0000102c     0 NOTYPE  LOCAL  DEFAULT    2 sec2
     16: 00001040     0 NOTYPE  LOCAL  DEFAULT    2 sec3
     17: 00001048     0 NOTYPE  LOCAL  DEFAULT    2 sec4
-    18: 000010e0     0 OBJECT  GLOBAL DEFAULT    5 ___dtors
-    19: 000010e0     0 OBJECT  GLOBAL DEFAULT  ABS __bss_start
-    20: 000010e0     0 OBJECT  GLOBAL DEFAULT    4 ___ctors_end
+    18: 000010e0     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors
+    19: 000010e0     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
+    20: 000010e0     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors_end
     21: 00001004     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    22: 000010e0     0 OBJECT  GLOBAL DEFAULT    4 ___ctors
-    23: 000010e0     0 OBJECT  GLOBAL DEFAULT  ABS _edata
-    24: 000010e0     0 OBJECT  GLOBAL DEFAULT  ABS _end
+    22: 000010e0     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors
+    23: 000010e0     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
+    24: 000010e0     0 NOTYPE  GLOBAL DEFAULT  ABS _end
     25: 00001000     0 NOTYPE  GLOBAL DEFAULT    1 start
-    26: 00080000     0 OBJECT  GLOBAL DEFAULT    8 _stack
-    27: 000010e0     0 OBJECT  GLOBAL DEFAULT    5 ___dtors_end
+    26: 00080000     0 NOTYPE  GLOBAL DEFAULT    8 _stack
+    27: 000010e0     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors_end
 
 Hex dump of section '\.text':
   0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 0000002a .*
index ea92dce9fc42da7acf83b5638848135be2241152..a4a4273e35b6c79c6a7e03bbbbae6f8e2ad62784 100644 (file)
@@ -59,16 +59,16 @@ Symbol table '\.symtab' contains 28 entries:
     15: 000010bc     0 NOTYPE  LOCAL  DEFAULT    2 sec3
     16: 00000000     0 NOTYPE  LOCAL  DEFAULT  ABS \*ABS\*
     17: 000010c4     0 NOTYPE  GLOBAL DEFAULT    2 diversion
-    18: 00001160     0 OBJECT  GLOBAL DEFAULT    5 ___dtors
-    19: 00001160     0 OBJECT  GLOBAL DEFAULT  ABS __bss_start
-    20: 00001160     0 OBJECT  GLOBAL DEFAULT    4 ___ctors_end
+    18: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors
+    19: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
+    20: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors_end
     21: 000010a4     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    22: 00001160     0 OBJECT  GLOBAL DEFAULT    4 ___ctors
-    23: 00001160     0 OBJECT  GLOBAL DEFAULT  ABS _edata
-    24: 00001160     0 OBJECT  GLOBAL DEFAULT  ABS _end
+    22: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors
+    23: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
+    24: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _end
     25: 00001000     0 NOTYPE  GLOBAL DEFAULT    1 start
-    26: 00080000     0 OBJECT  GLOBAL DEFAULT    8 _stack
-    27: 00001160     0 OBJECT  GLOBAL DEFAULT    5 ___dtors_end
+    26: 00080000     0 NOTYPE  GLOBAL DEFAULT    8 _stack
+    27: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors_end
 
 Hex dump of section '\.text':
   0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
index 5cc7888d76796498136e72ffe04d5ae2108abd20..7598fbb5226d1db9f8c43ca7eddbda8e2ba422ab 100644 (file)
@@ -59,16 +59,16 @@ Symbol table '\.symtab' contains 28 entries:
     15: 000010bc     0 NOTYPE  LOCAL  DEFAULT    2 sec3
     16: 00000000     0 NOTYPE  LOCAL  DEFAULT  ABS \*ABS\*
     17: 000010c4     0 NOTYPE  GLOBAL DEFAULT    2 diversion
-    18: 00001160     0 OBJECT  GLOBAL DEFAULT    5 ___dtors
-    19: 00001160     0 OBJECT  GLOBAL DEFAULT  ABS __bss_start
-    20: 00001160     0 OBJECT  GLOBAL DEFAULT    4 ___ctors_end
+    18: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors
+    19: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
+    20: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors_end
     21: 000010a4     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    22: 00001160     0 OBJECT  GLOBAL DEFAULT    4 ___ctors
-    23: 00001160     0 OBJECT  GLOBAL DEFAULT  ABS _edata
-    24: 00001160     0 OBJECT  GLOBAL DEFAULT  ABS _end
+    22: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors
+    23: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
+    24: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _end
     25: 00001000     0 NOTYPE  GLOBAL DEFAULT    1 start
-    26: 00080000     0 OBJECT  GLOBAL DEFAULT    8 _stack
-    27: 00001160     0 OBJECT  GLOBAL DEFAULT    5 ___dtors_end
+    26: 00080000     0 NOTYPE  GLOBAL DEFAULT    8 _stack
+    27: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors_end
 
 Hex dump of section '\.text':
   0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
index 363977c28cbed72709be0b2ee303b8549b1d14c8..12c2f57034c8f650d9de2237191002665f8ba400 100644 (file)
@@ -40,16 +40,16 @@ Symbol table '\.symtab' contains 28 entries:
     15: 000010bc     0 NOTYPE  LOCAL  DEFAULT    2 sec3
     16: 00000000     0 NOTYPE  LOCAL  DEFAULT  ABS \*ABS\*
     17: 000010c4     0 NOTYPE  GLOBAL DEFAULT    2 diversion
-    18: 00001160     0 OBJECT  GLOBAL DEFAULT    5 ___dtors
-    19: 00001160     0 OBJECT  GLOBAL DEFAULT  ABS __bss_start
-    20: 00001160     0 OBJECT  GLOBAL DEFAULT    4 ___ctors_end
+    18: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors
+    19: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start
+    20: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors_end
     21: 000010a4     0 NOTYPE  GLOBAL DEFAULT    2 diversion2
-    22: 00001160     0 OBJECT  GLOBAL DEFAULT    4 ___ctors
-    23: 00001160     0 OBJECT  GLOBAL DEFAULT  ABS _edata
-    24: 00001160     0 OBJECT  GLOBAL DEFAULT  ABS _end
+    22: 00001160     0 NOTYPE  GLOBAL DEFAULT    4 ___ctors
+    23: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _edata
+    24: 00001160     0 NOTYPE  GLOBAL DEFAULT  ABS _end
     25: 00001000     0 NOTYPE  GLOBAL DEFAULT    1 start
-    26: 00080000     0 OBJECT  GLOBAL DEFAULT    8 _stack
-    27: 00001160     0 OBJECT  GLOBAL DEFAULT    5 ___dtors_end
+    26: 00080000     0 NOTYPE  GLOBAL DEFAULT    8 _stack
+    27: 00001160     0 NOTYPE  GLOBAL DEFAULT    5 ___dtors_end
 
 Hex dump of section '\.text':
   0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .*
index 053a1f62eb189ca49ce75fe24f97d3f7818eb565..a9770d92d4282fd650a5a6833bac961b462b5a9d 100644 (file)
@@ -12,7 +12,7 @@ Program Header:
          filesz 0x0+c memsz 0x0+10 flags rw-
 
 Sections:
-Idx Name          Size      VMA               LMA               File off  Algn
+Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         00000048  0+1000  0+1000  00000080  2\*\*2
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
   1 \.data         0000000c  0+10c8  0+10c8  000000c8  2\*\*0
@@ -45,12 +45,12 @@ SYMBOL TABLE:
 0+1004 l       \.text  0+ start2
 0+1030 l       \.text  0+ 0x04 mediacode2
 0+1018 l       \.text  0+ 0x04 mediacode
-0+10d4 g     O \.dtors 0+ ___dtors
-0+10d8 g     O \*ABS\* 0+ __bss_start
-0+10d4 g     O \.ctors 0+ ___ctors_end
-0+10d4 g     O \.ctors 0+ ___ctors
-0+10d8 g     O \*ABS\* 0+ _edata
-0+10d8 g     O \*ABS\* 0+ _end
+0+10d4 g       \.dtors 0+ ___dtors
+0+10d8 g       \*ABS\* 0+ __bss_start
+0+10d4 g       \.ctors 0+ ___ctors_end
+0+10d4 g       \.ctors 0+ ___ctors
+0+10d8 g       \*ABS\* 0+ _edata
+0+10d8 g       \*ABS\* 0+ _end
 0+1000 g       \.text  0+ start
-0+80000 g     O \.stack        0+ _stack
-0+10d4 g     O \.dtors 0+ ___dtors_end
+0+80000 g       \.stack        0+ _stack
+0+10d4 g       \.dtors 0+ ___dtors_end
index bda2f8d6ef54bb0d0340d5f7eb7332df601b6a24..3740cb75b96fdb790fa157c533a481ed664ccd45 100644 (file)
@@ -12,7 +12,7 @@ Program Header:
          filesz 0x0+10 memsz 0x0+10 flags rw-
 
 Sections:
-Idx Name          Size      VMA               LMA               File off  Algn
+Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         00000032  0+1000  0+1000  00000080  2\*\*0
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
   1 \.rodata       00000010  0+1032  0+1032  000000b2  2\*\*0
@@ -52,14 +52,14 @@ SYMBOL TABLE:
 0+1024 g       \.text  0+ compactlabel2
 0+1028 g       \.text  0+ compactlabel3
 0+1010 g       \.text  0+ 0x04 medialabel1
-0+10d8 g     O \.dtors 0+ ___dtors
+0+10d8 g       \.dtors 0+ ___dtors
 0+10cc g       \.data  0+ medialabel4
-0+10d8 g     O \*ABS\* 0+ __bss_start
-0+10d8 g     O \.ctors 0+ ___ctors_end
+0+10d8 g       \*ABS\* 0+ __bss_start
+0+10d8 g       \.ctors 0+ ___ctors_end
 0+10d4 g       \.data  0+ compactlabel5
-0+10d8 g     O \.ctors 0+ ___ctors
-0+10d8 g     O \*ABS\* 0+ _edata
-0+10d8 g     O \*ABS\* 0+ _end
+0+10d8 g       \.ctors 0+ ___ctors
+0+10d8 g       \*ABS\* 0+ _edata
+0+10d8 g       \*ABS\* 0+ _end
 0+1000 g       \.text  0+ 0x04 start
-0+80000 g     O \.stack        0+ _stack
-0+10d8 g     O \.dtors 0+ ___dtors_end
+0+80000 g       \.stack        0+ _stack
+0+10d8 g       \.dtors 0+ ___dtors_end
index f706cb530c374515817b1002bc2ffdf3bf5bd0cc..d4ffa29b083c98a06efc27ad81c5c240ddbdfe24 100644 (file)
@@ -6,7 +6,7 @@ HAS_RELOC, HAS_SYMS
 start address 0x0+
 
 Sections:
-Idx Name          Size      VMA               LMA               File off  Algn
+Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         0+40  0+  0+  0+34  2\*\*0
                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
   1 \.data         0+40  0+  0+  0+74  2\*\*0
index 6f25b2042fbbd78370942d4d58771a7b05f86d39..c941f1f6e64c056976741c0204896d998fbd0d23 100644 (file)
@@ -11,7 +11,7 @@ Program Header:
          filesz 0x0+194 memsz 0x0+198 flags rw-
 
 Sections:
-Idx Name          Size      VMA               LMA               File off  Algn
+Idx Name          Size      VMA       LMA       File off  Algn
   0 \.text         0+204  0+1000  0+1000  0+80  2\*\*0
                   CONTENTS, ALLOC, LOAD, READONLY, CODE
   1 \.rodata       0+144  0+1204  0+1204  0+284  2\*\*0
@@ -86,7 +86,7 @@ SYMBOL TABLE:
 0+14e0 g       \.data  0+ dbar_mixboth2
 0+14ec g       \.data  0+ dbaz
 0+1524 g       \.data  0+ dbaz_mix
-0+155c g     O \.dtors 0+ ___dtors
+0+155c g       \.dtors 0+ ___dtors
 0+141c g       \.data  0+ dfoo_mixboth2
 0+119c g       \.text  0+ 0x04 bazboth
 0+13f0 g       \.data  0+ dfoo_other
@@ -95,28 +95,28 @@ SYMBOL TABLE:
 0+1164 g       \.text  0+ 0x04 barboth2
 0+1168 g       \.text  0+ 0x04 barwithout
 0+14d8 g       \.data  0+ dbar_mix2
-0+1560 g     O \*ABS\* 0+ __bss_start
+0+1560 g       \*ABS\* 0+ __bss_start
 0+1410 g       \.data  0+ dfoo_mixboth
 0+14c4 g       \.data  0+ dbar_other
 0+1180 g       \.text  0+ 0x04 bar_mix2
 0+14f4 g       \.data  0+ dbazboth
 0+1038 g       \.text  0+ 0x04 foo_otherwithout
 0+1190 g       \.text  0+ 0x04 bar_mixwithout2
-0+155c g     O \.ctors 0+ ___ctors_end
+0+155c g       \.ctors 0+ ___ctors_end
 0+1064 g       \.text  0+ 0x04 foo_mixwithout
 0+116c g       \.text  0+ 0x04 bar_other
 0+13d0 g       \.data  0+ dfooboth
 0+1034 g       \.text  0+ 0x04 foo_otherboth2
 0+1400 g       \.data  0+ dfoo_mix
-0+155c g     O \.ctors 0+ ___ctors
+0+155c g       \.ctors 0+ ___ctors
 0+14d4 g       \.data  0+ dbar_mix
 0+100c g       \.text  0+ 0x04 fooboth
 0+1170 g       \.text  0+ 0x04 bar_otherboth
 0+14c0 g       \.data  0+ dbarwithout
 0+1004 g       \.text  0+ 0x04 foo
 0+102c g       \.text  0+ 0x04 foo_other
-0+1560 g     O \*ABS\* 0+ _edata
-0+1560 g     O \*ABS\* 0+ _end
+0+1560 g       \*ABS\* 0+ _edata
+0+1560 g       \*ABS\* 0+ _end
 0+1430 g       \.data  0+ dfoo_mixwithout2
 0+1058 g       \.text  0+ 0x04 foo_mixboth2
 0+11d4 g       \.text  0+ 0x04 baz_mix2
@@ -125,12 +125,12 @@ SYMBOL TABLE:
 0+14bc g       \.data  0+ dbarboth2
 0+118c g       \.text  0+ 0x04 bar_mixwithout
 0+115c g       \.text  0+ 0x04 bar
-0+80000 g     O \.stack        0+ _stack
+0+80000 g       \.stack        0+ _stack
 0+1520 g       \.data  0+ dbaz_otherwithout
 0+11f4 g       \.text  0+ 0x04 baz_mixwithout
 0+1160 g       \.text  0+ 0x04 barboth
 0+14b8 g       \.data  0+ dbarboth
 0+1188 g       \.text  0+ 0x04 bar_mixboth2
-0+155c g     O \.dtors 0+ ___dtors_end
+0+155c g       \.dtors 0+ ___dtors_end
 0+151c g       \.data  0+ dbaz_otherboth2
 0+1500 g       \.data  0+ dbazboth2
index 0629b6d6021cbe99192c56271862aba18c9d7cc3..181692f5caa1c8fade7c412b76024a6eb029b9fa 100644 (file)
@@ -86,7 +86,7 @@ SYMBOL TABLE:
 0+14e0 g       \.data  0+ dbar_mixboth2
 0+14ec g       \.data  0+ dbaz
 0+1524 g       \.data  0+ dbaz_mix
-0+155c g     O \.dtors 0+ ___dtors
+0+155c g       \.dtors 0+ ___dtors
 0+141c g       \.data  0+ dfoo_mixboth2
 0+119c g       \.text  0+ 0x04 bazboth
 0+13f0 g       \.data  0+ dfoo_other
@@ -95,28 +95,28 @@ SYMBOL TABLE:
 0+1164 g       \.text  0+ 0x04 barboth2
 0+1168 g       \.text  0+ 0x04 barwithout
 0+14d8 g       \.data  0+ dbar_mix2
-0+1560 g     O \*ABS\* 0+ __bss_start
+0+1560 g       \*ABS\* 0+ __bss_start
 0+1410 g       \.data  0+ dfoo_mixboth
 0+14c4 g       \.data  0+ dbar_other
 0+1180 g       \.text  0+ 0x04 bar_mix2
 0+14f4 g       \.data  0+ dbazboth
 0+1038 g       \.text  0+ 0x04 foo_otherwithout
 0+1190 g       \.text  0+ 0x04 bar_mixwithout2
-0+155c g     O \.ctors 0+ ___ctors_end
+0+155c g       \.ctors 0+ ___ctors_end
 0+1064 g       \.text  0+ 0x04 foo_mixwithout
 0+116c g       \.text  0+ 0x04 bar_other
 0+13d0 g       \.data  0+ dfooboth
 0+1034 g       \.text  0+ 0x04 foo_otherboth2
 0+1400 g       \.data  0+ dfoo_mix
-0+155c g     O \.ctors 0+ ___ctors
+0+155c g       \.ctors 0+ ___ctors
 0+14d4 g       \.data  0+ dbar_mix
 0+100c g       \.text  0+ 0x04 fooboth
 0+1170 g       \.text  0+ 0x04 bar_otherboth
 0+14c0 g       \.data  0+ dbarwithout
 0+1004 g       \.text  0+ 0x04 foo
 0+102c g       \.text  0+ 0x04 foo_other
-0+1560 g     O \*ABS\* 0+ _edata
-0+1560 g     O \*ABS\* 0+ _end
+0+1560 g       \*ABS\* 0+ _edata
+0+1560 g       \*ABS\* 0+ _end
 0+1430 g       \.data  0+ dfoo_mixwithout2
 0+1058 g       \.text  0+ 0x04 foo_mixboth2
 0+11d4 g       \.text  0+ 0x04 baz_mix2
@@ -125,12 +125,12 @@ SYMBOL TABLE:
 0+14bc g       \.data  0+ dbarboth2
 0+118c g       \.text  0+ 0x04 bar_mixwithout
 0+115c g       \.text  0+ 0x04 bar
-0+80000 g     O \.stack        0+ _stack
+0+80000 g       \.stack        0+ _stack
 0+1520 g       \.data  0+ dbaz_otherwithout
 0+11f4 g       \.text  0+ 0x04 baz_mixwithout
 0+1160 g       \.text  0+ 0x04 barboth
 0+14b8 g       \.data  0+ dbarboth
 0+1188 g       \.text  0+ 0x04 bar_mixboth2
-0+155c g     O \.dtors 0+ ___dtors_end
+0+155c g       \.dtors 0+ ___dtors_end
 0+151c g       \.data  0+ dbaz_otherboth2
 0+1500 g       \.data  0+ dbazboth2
index 645721ea1df5d11d28af98be2e097ad40af535aa..dfe71ddb1f3fac7d18f4baa999ec79bfbe7e733f 100644 (file)
@@ -28,7 +28,9 @@ if ![isnative] then {return}
 
 # This test can only be run on a couple of ELF platforms.
 # Square bracket expressions seem to confuse istarget.
-if { ![istarget i?86-*-sysv4*] \
+if { ![istarget hppa*64*-*-hpux*] \
+     && ![istarget hppa*-*-linux*] \
+     && ![istarget i?86-*-sysv4*] \
      && ![istarget i?86-*-unixware] \
      && ![istarget i?86-*-elf*] \
      && ![istarget i?86-*-linux*] \
index 8de2949750c900266f265aef11494e803f110c2c..fe21a8fc031aef1fcee5f9279201549d5171c245 100644 (file)
@@ -25,6 +25,7 @@ if { ![istarget *-*-sysv4*] \
      && ![istarget *-*-unixware*] \
      && ![istarget *-*-elf*] \
      && ![istarget *-*-eabi*] \
+     && ![istarget hppa*64*-*-hpux*] \
      && ![istarget *-*-linux*] \
      && ![istarget *-*-irix5*] \
      && ![istarget *-*-irix6*] \