diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-01-29 14:30:41 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-01-29 14:30:41 -0800 |
commit | 50a53d3ffecd6610fbfd40017224055ea252dea9 (patch) | |
tree | ad77bb725757ac3d24448959c7f59ea1bd5efb08 /ld/testsuite/ld-elf/rdynamic-1.c | |
parent | 401e27fd717fcbc2efe00e332bdaa46846501323 (diff) | |
download | gdb-50a53d3ffecd6610fbfd40017224055ea252dea9.zip gdb-50a53d3ffecd6610fbfd40017224055ea252dea9.tar.gz gdb-50a53d3ffecd6610fbfd40017224055ea252dea9.tar.bz2 |
Add rdynamic-1 test
It is added for
commit 409ff343a402799563f71f938138b29f8baf7a1c
Author: Alan Modra <amodra@gmail.com>
Date: Tue Nov 8 13:49:11 2011 +0000
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark syms in
executables when export_dynamic.
* ld-elf/rdynamic-1.c: New file.
* ld-elf/rdynamic-1.rd: Likewise.
* ld-elf/shared.exp (build_tests): Add rdynamic-1.
Diffstat (limited to 'ld/testsuite/ld-elf/rdynamic-1.c')
-rw-r--r-- | ld/testsuite/ld-elf/rdynamic-1.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/rdynamic-1.c b/ld/testsuite/ld-elf/rdynamic-1.c new file mode 100644 index 0000000..7c9d1ab --- /dev/null +++ b/ld/testsuite/ld-elf/rdynamic-1.c @@ -0,0 +1,10 @@ +void +rdynamic () +{ +} + +int +main () +{ + return 0; +} |