diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-05-02 13:54:22 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-05-02 13:54:22 -0700 |
commit | 640226f048b67d79da85742728e40114c9ee5da0 (patch) | |
tree | 77ce57cce5420fc959017c0862c1855b857dbc32 /ld/testsuite/ld-elf/pr21384.d | |
parent | 2ecf0cc317d065cfeb960c61688897351521bce0 (diff) | |
download | gdb-640226f048b67d79da85742728e40114c9ee5da0.zip gdb-640226f048b67d79da85742728e40114c9ee5da0.tar.gz gdb-640226f048b67d79da85742728e40114c9ee5da0.tar.bz2 |
Add a test for PR ld/21384
PR ld/21384
* testsuite/ld-elf/pr21384.d: New file.
* testsuite/ld-elf/pr21384.dl: Likewise.
* testsuite/ld-elf/pr21384.ld: Likewise.
* testsuite/ld-elf/pr21384.s: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/pr21384.d')
-rw-r--r-- | ld/testsuite/ld-elf/pr21384.d | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr21384.d b/ld/testsuite/ld-elf/pr21384.d new file mode 100644 index 0000000..5a3aedc --- /dev/null +++ b/ld/testsuite/ld-elf/pr21384.d @@ -0,0 +1,11 @@ +#ld: -T pr21384.ld --dynamic-list $srcdir/$subdir/pr21384.dl --no-dynamic-linker +#readelf : --dyn-syms --wide +#target: *-*-linux* *-*-gnu* *-*-solaris* + +Symbol table '\.dynsym' contains [0-9]+ entries: + +Num: +Value +Size Type +Bind +Vis +Ndx Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +#... + +[0-9]+: +[a-f0-9]+ +0 +NOTYPE +GLOBAL +DEFAULT +[0-9]+ +edata + +[0-9]+: +[a-f0-9]+ +0 +NOTYPE +GLOBAL +DEFAULT +[0-9]+ +fdata +#pass |