aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-relsort1mod2.c
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-relsort1mod2.c
parent43455e09166350b1237d2168d1b008c9f47ebaf0 (diff)
downloadglibc-6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4.tar
glibc-6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4.tar.gz
glibc-6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4.tar.bz2
glibc-6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4.zip
Sort objects before relocations
Diffstat (limited to 'elf/tst-relsort1mod2.c')
-rw-r--r--elf/tst-relsort1mod2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/tst-relsort1mod2.c b/elf/tst-relsort1mod2.c
new file mode 100644
index 0000000000..a2c3e551e4
--- /dev/null
+++ b/elf/tst-relsort1mod2.c
@@ -0,0 +1,7 @@
+#include <math.h>
+
+int
+foo (double d)
+{
+ return floor (d) != 0.0;
+}