mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
7cc340055d
PR 26882 * testsuite/ld-powerpc/dotsym3.d: Add "-z notext" to ld options. * testsuite/ld-powerpc/dotsym4.d: Likewise. * testsuite/ld-powerpc/ppc476-shared.d: Likewise. * testsuite/ld-powerpc/ppc476-shared2.d: Likewise. * testsuite/ld-powerpc/powerpc.exp: Likewise for various tests. * testsuite/ld-undefined/weak-fundef.s: Add BLPLT variant. * testsuite/ld-undefined/weak-undef.exp: Define BLPLT for ppc32.
18 lines
347 B
Makefile
18 lines
347 B
Makefile
#source: dotsymref.s
|
|
#source: nodotsym.s
|
|
#as: -a64
|
|
#ld: -melf64ppc -Ttext=0x1000 -shared -z notext
|
|
#objdump: -dR
|
|
|
|
.*: file format .*
|
|
|
|
Disassembly of section \.text:
|
|
|
|
0+1000 <\.foo-0x8>:
|
|
.*: (00 00 00 00|08 10 00 00) .*
|
|
.*: R_PPC64_RELATIVE \*ABS\*\+0x1008
|
|
.*: (00 00 10 08|00 00 00 00) .*
|
|
|
|
0+1008 <\.foo>:
|
|
.*: (4e 80 00 20|20 00 80 4e) blr
|