summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-cris/libdso-12c.d
diff options
context:
space:
mode:
authorJing Yu <jingyu@google.com>2011-12-20 10:27:58 -0800
committerJing Yu <jingyu@google.com>2011-12-20 10:27:58 -0800
commitcf3cdbf8b3cda61a619299e7966a83df66244036 (patch)
tree201e2bcfc955f16802d3257112d29736cb3a3ce8 /binutils-2.21/ld/testsuite/ld-cris/libdso-12c.d
parente4df3e0a5bb640ccfa2f30ee67fe9b3146b152d6 (diff)
downloadtoolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.zip
toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.tar.gz
toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.tar.bz2
Add binutils-2.21.
Use --enable-gold=default for dual linker support. Change-Id: Id1a744c7db58a0b5e7a3be174cdfa875f2f86e49
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-cris/libdso-12c.d')
-rw-r--r--binutils-2.21/ld/testsuite/ld-cris/libdso-12c.d41
1 files changed, 41 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-cris/libdso-12c.d b/binutils-2.21/ld/testsuite/ld-cris/libdso-12c.d
new file mode 100644
index 0000000..37eab56
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-cris/libdso-12c.d
@@ -0,0 +1,41 @@
+#source: expdyn1.s
+#source: dsov32-1.s
+#source: dsov32-2.s
+#source: dso-1.s
+#as: --pic --no-underscore --march=v32 --em=criself
+#ld: --shared -m crislinux --version-script $srcdir/$subdir/hidedsofns2468
+#objdump: -s -T
+
+# Like libdso-12b.d, but dsofn is defined and the two called functions
+# are forced local using a linker script. There should just be the
+# GOT relocation for expobj in the DSO.
+
+.*: file format elf32-cris
+
+DYNAMIC SYMBOL TABLE:
+#...
+0+202 g[ ]+DF \.text 0+2 Base[ ]+expfn
+0+22bc g[ ]+DO \.data 0+4 Base[ ]+expobj
+#...
+0+204 g[ ]+DF \.text 0+8 Base[ ]+dsofn3
+#...
+Contents of section \.rela\.dyn:
+ 01f4 b8220000 0a040000 00000000 .*
+Contents of section \.text:
+ 0200 b005b005 bfbe1c00 0000b005 7f0da020 .*
+ 0210 00005f0d 0c00bfbe f6ffffff b0050000 .*
+ 0220 b0050000 .*
+Contents of section .dynamic:
+ 2224 04000000 94000000 05000000 70010000 .*
+ 2234 06000000 d0000000 0a000000 37000000 .*
+ 2244 0b000000 10000000 07000000 f4010000 .*
+ 2254 08000000 0c000000 09000000 0c000000 .*
+ 2264 fcffff6f bc010000 fdffff6f 02000000 .*
+ 2274 f0ffff6f a8010000 00000000 00000000 .*
+ 2284 00000000 00000000 00000000 00000000 .*
+ 2294 00000000 00000000 00000000 00000000 .*
+ 22a4 00000000 00000000 .*
+Contents of section \.got:
+ 22ac 24220000 00000000 00000000 00000000 .*
+Contents of section \.data:
+ 22bc 00000000 .*