mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +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.
17 lines
361 B
Makefile
17 lines
361 B
Makefile
#source: nodotsym.s
|
|
#source: dotsymref.s
|
|
#as: -a64
|
|
#ld: -melf64ppc -Ttext=0x1000 -shared -z notext
|
|
#objdump: -dR
|
|
|
|
.*: file format .*
|
|
|
|
Disassembly of section \.text:
|
|
|
|
0+1000 <\.foo>:
|
|
.*: (4e 80 00 20|20 00 80 4e) blr
|
|
.*: (60 00 00 00|00 00 00 60) nop
|
|
.*: (00 00 00 00|00 10 00 00) .*
|
|
.*: R_PPC64_RELATIVE \*ABS\*\+0x1000
|
|
.*: (00 00 10 00|00 00 00 00) .*
|