diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-10-04 19:54:08 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-10-04 19:54:08 +0000 |
commit | b239e90902caf9a002527981187e64063baeb8ef (patch) | |
tree | 0d18152911c2ed7fc6809aa795444823a64b4632 /ld/testsuite/ld-scripts/cross4.c | |
parent | cbf1f5df2bdcfec5876190038b045324029ff2ad (diff) | |
download | fsf-binutils-gdb-b239e90902caf9a002527981187e64063baeb8ef.zip fsf-binutils-gdb-b239e90902caf9a002527981187e64063baeb8ef.tar.gz fsf-binutils-gdb-b239e90902caf9a002527981187e64063baeb8ef.tar.bz2 |
2005-10-04 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1396
* ld-scripts/cross3.t: New file.
* ld-scripts/cross4.c: Likewise.
* ld-scripts/crossref.exp: Add a new test for "ld -r".
Diffstat (limited to 'ld/testsuite/ld-scripts/cross4.c')
-rw-r--r-- | ld/testsuite/ld-scripts/cross4.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/cross4.c b/ld/testsuite/ld-scripts/cross4.c new file mode 100644 index 0000000..aef8dfd --- /dev/null +++ b/ld/testsuite/ld-scripts/cross4.c @@ -0,0 +1,7 @@ +__attribute__ ((section (".nocrossrefs"))) +static void +foo () +{ +} + +void (*dummy) () = foo; |