mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-07 13:39:43 +08:00
* testsuite/ld-cris/dso-pltdis1.d: Run ld with --hash-style=sysv. * testsuite/ld-cris/dso-pltdis2.d, testsuite/ld-cris/dso12-pltdis.d, testsuite/ld-cris/expdyn1.d, testsuite/ld-cris/expdyn5.d, testsuite/ld-cris/expdyn6.d, testsuite/ld-cris/expdyn7.d, testsuite/ld-cris/gotplt1.d, testsuite/ld-cris/gotplt2.d, testsuite/ld-cris/gotplt3.d, testsuite/ld-cris/hiddef1.d, testsuite/ld-cris/libdso-11.d, testsuite/ld-cris/libdso-12.d, testsuite/ld-cris/libdso-12b.d, testsuite/ld-cris/libdso-12c.d, testsuite/ld-cris/libdso-13.d, testsuite/ld-cris/libdso-13b.d, testsuite/ld-cris/libdso-14.d, testsuite/ld-cris/libdso-15.d, testsuite/ld-cris/libdso-15b.d, testsuite/ld-cris/libdso-1b.d, testsuite/ld-cris/libdso-1c.d, testsuite/ld-cris/libdso-1d.d, testsuite/ld-cris/libdso-4.d, testsuite/ld-cris/pr16044.d, testsuite/ld-cris/pv32-1.d, testsuite/ld-cris/tls-dso-dtpoffd2.d, testsuite/ld-cris/tls-dso-dtpoffd4.d, testsuite/ld-cris/tls-dso-tpoffgotcomm1.d, testsuite/ld-cris/tls-dso-x1x2-1.d, testsuite/ld-cris/tls-gc-71.d, testsuite/ld-cris/tls-ie-78.d, testsuite/ld-cris/tls-js1.d, testsuite/ld-cris/tls-ldgdex-14.d, testsuite/ld-cris/tls-ldgdex-15.d, testsuite/ld-cris/tls-legdx-16.d, testsuite/ld-cris/tls-legdx-17.d, testsuite/ld-cris/tls-local-63.d, testsuite/ld-cris/tls-local-64.d, testsuite/ld-cris/tls-ok-30.d, testsuite/ld-cris/tls-ok-32.d, testsuite/ld-cris/tls-ok-34.d, testsuite/ld-cris/tls-und-38.d, testsuite/ld-cris/tls-und-42.d, testsuite/ld-cris/tls-und-46.d, testsuite/ld-cris/tls-und-50.d, testsuite/ld-cris/weakref2.d, testsuite/ld-cris/weakref3.d, testsuite/ld-cris/weakref4.d: Likewise.
55 lines
1.6 KiB
Makefile
55 lines
1.6 KiB
Makefile
#source: expdyn1.s
|
|
#source: dsov32-1.s
|
|
#source: dsov32-2.s
|
|
#as: --pic --no-underscore --march=v32 --em=criself
|
|
#ld: --shared -m crislinux -z nocombreloc --hash-style=sysv
|
|
#objdump: -d
|
|
|
|
# Check dissassembly of .plt section.
|
|
|
|
.*: file format elf32-cris
|
|
|
|
Disassembly of section \.plt:
|
|
|
|
0+1e4 <.plt>:
|
|
|
|
1e4: 84e2 subq 4,\$sp
|
|
1e6: 0401 addoq 4,\$r0,\$acr
|
|
1e8: 7e7a move \$mof,\[\$sp\]
|
|
1ea: 3f7a move \[\$acr\],\$mof
|
|
1ec: 04f2 addq 4,\$acr
|
|
1ee: 6ffa move\.d \[\$acr\],\$acr
|
|
1f0: bf09 jump \$acr
|
|
1f2: b005 nop
|
|
\.\.\.
|
|
|
|
0+1fe <dsofn4@plt>:
|
|
1fe: 6f0d 0c00 0000 addo\.d c <.*>,\$r0,\$acr
|
|
204: 6ffa move\.d \[\$acr\],\$acr
|
|
206: bf09 jump \$acr
|
|
208: b005 nop
|
|
20a: 3f7e 0000 0000 move 0 <.*>,\$mof
|
|
210: bf0e d4ff ffff ba 1e4 <.*>
|
|
216: b005 nop
|
|
|
|
0+218 <dsofn@plt>:
|
|
218: 6f0d 1000 0000 addo\.d 10 <.*>,\$r0,\$acr
|
|
21e: 6ffa move\.d \[\$acr\],\$acr
|
|
220: bf09 jump \$acr
|
|
222: b005 nop
|
|
224: 3f7e 0c00 0000 move c <.*>,\$mof
|
|
22a: bf0e baff ffff ba 1e4 <.*>
|
|
230: b005 nop
|
|
|
|
Disassembly of section \.text:
|
|
#...
|
|
0+236 <dsofn3>:
|
|
236: bfbe e2ff ffff bsr 218 <dsofn@plt>
|
|
23c: b005 nop
|
|
|
|
0+23e <dsofn4>:
|
|
23e: 7f0d a620 0000 lapc 22e4 <_GLOBAL_OFFSET_TABLE_>,\$r0
|
|
244: 5f0d 1400 addo\.w 0x14,\$r0,\$acr
|
|
248: bfbe b6ff ffff bsr 1fe <dsofn4@plt>
|
|
#pass
|