aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-27 15:05:19 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-27 15:05:19 -0500
commit6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4 (patch)
treea26f39ff87542c60680d6047c512b3009734bf21 /elf/tst-relsort1mod1.c
parentMerge branch 'master' of ssh://sourceware.org/git/glibc (diff)
downloadglibc-6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4.tar.gz
glibc-6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4.tar.bz2
glibc-6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4.zip
Sort objects before relocations
Diffstat (limited to 'elf/tst-relsort1mod1.c')
-rw-r--r--elf/tst-relsort1mod1.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/tst-relsort1mod1.c b/elf/tst-relsort1mod1.c
new file mode 100644
index 0000000000..9e4a94321d
--- /dev/null
+++ b/elf/tst-relsort1mod1.c
@@ -0,0 +1,7 @@
+extern int foo (double);
+
+int
+bar (void)
+{
+ return foo (1.2);
+}