aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/ehdr_start-1.nd
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2013-05-03 15:19:27 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2013-05-03 15:19:27 +0000
commitcde7cb0129a884a060b99c7c83e8f5c9af728b0a (patch)
tree5200a969a7d2373802a23d78f8160613a192603f /ld/testsuite/ld-mips-elf/ehdr_start-1.nd
parenta5382c42bb58229b90b373efffc3a91a8e1bd044 (diff)
downloadbinutils-cde7cb0129a884a060b99c7c83e8f5c9af728b0a.zip
binutils-cde7cb0129a884a060b99c7c83e8f5c9af728b0a.tar.gz
binutils-cde7cb0129a884a060b99c7c83e8f5c9af728b0a.tar.bz2
gold/
PR ld/15365 * layout.cc (Layout::finalize): Make __ehdr_start STV_HIDDEN. ld/ PR ld/15365 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Restrict __ehdr_start's export class to no less than STV_HIDDEN. ld/testsuite/ PR ld/15365 * ld-elf/ehdr_start.d: Expect __ehdr_start to be STB_LOCAL. * ld-mips-elf/ehdr_start-1.nd: New test. * ld-mips-elf/ehdr_start-2.nd: New test. * ld-mips-elf/ehdr_start-1.ld: New test linker script. * ld-mips-elf/ehdr_start-2.ld: New test linker script. * ld-mips-elf/ehdr_start-new.s: New test source. * ld-mips-elf/ehdr_start-o32.s: New test source. * ld-mips-elf/mips-elf.exp: Run the new tests.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/ehdr_start-1.nd')
-rw-r--r--ld/testsuite/ld-mips-elf/ehdr_start-1.nd4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/ehdr_start-1.nd b/ld/testsuite/ld-mips-elf/ehdr_start-1.nd
new file mode 100644
index 0000000..9496b7d
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/ehdr_start-1.nd
@@ -0,0 +1,4 @@
+Symbol table '\.symtab' contains [0-9]+ entries:
+#...
+ *[0-9]+: 0*12300000 +0 (?:NOTYPE|OBJECT) +LOCAL +DEFAULT +[0-9]+ __ehdr_start
+#pass