aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvsb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-02-22 18:29:20 +0000
committerDaniel Jacobowitz <drow@false.org>2005-02-22 18:29:20 +0000
commita5e0d2699d4423026958f6fef00c68202e56686e (patch)
treebfe0ece853e36b5b71ec1a3e2a1ee027f2655d13 /ld/testsuite/ld-elfvsb
parent53c9ebc5f114920f04b2e64f03494c895aa361de (diff)
downloadgdb-a5e0d2699d4423026958f6fef00c68202e56686e.zip
gdb-a5e0d2699d4423026958f6fef00c68202e56686e.tar.gz
gdb-a5e0d2699d4423026958f6fef00c68202e56686e.tar.bz2
* ld-elfvsb/hidden2.d: Expect OBJECT.
* ld-elfvsb/hidden2.s: Force type OBJECT. * ld-elfvsb/hidden2.ld: Place .dynamic explicitly. * ld-elf/start.s: Provide __start for MIPS. * ld-elfcomm/elfcomm.exp: Accept MIPS common section. XFAIL size change test. * ld-elf/warn1.d: Use group.ld instead of -Ttext.
Diffstat (limited to 'ld/testsuite/ld-elfvsb')
-rw-r--r--ld/testsuite/ld-elfvsb/hidden2.d2
-rw-r--r--ld/testsuite/ld-elfvsb/hidden2.ld1
-rw-r--r--ld/testsuite/ld-elfvsb/hidden2.s1
3 files changed, 3 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elfvsb/hidden2.d b/ld/testsuite/ld-elfvsb/hidden2.d
index 25cfa4d..14b0b30 100644
--- a/ld/testsuite/ld-elfvsb/hidden2.d
+++ b/ld/testsuite/ld-elfvsb/hidden2.d
@@ -5,5 +5,5 @@
Symbol table for image:
#...
-[ ]*[0-9]+ +[0-9]+: [0-9a-fA-F]* +0 NOTYPE LOCAL HIDDEN +ABS foo
+[ ]*[0-9]+ +[0-9]+: [0-9a-fA-F]* +0 OBJECT LOCAL HIDDEN +ABS foo
#pass
diff --git a/ld/testsuite/ld-elfvsb/hidden2.ld b/ld/testsuite/ld-elfvsb/hidden2.ld
index 1e4a2b0..3c414db 100644
--- a/ld/testsuite/ld-elfvsb/hidden2.ld
+++ b/ld/testsuite/ld-elfvsb/hidden2.ld
@@ -3,4 +3,5 @@ SECTIONS
. = 0x1000;
PROVIDE (foo = .);
.data : { *(.data) }
+ .dynamic : { *(.dynamic) }
}
diff --git a/ld/testsuite/ld-elfvsb/hidden2.s b/ld/testsuite/ld-elfvsb/hidden2.s
index beb123b..62f1107 100644
--- a/ld/testsuite/ld-elfvsb/hidden2.s
+++ b/ld/testsuite/ld-elfvsb/hidden2.s
@@ -1,4 +1,5 @@
.data
.hidden foo
.global foo
+ .type foo,%object
.dc.a foo