410a69a022
Add -z noseparate-code since these tests check for exact addresses. * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code. * testsuite/ld-i386/ibt-plt-2a.d: Likewise. * testsuite/ld-i386/ibt-plt-2b.d: Likewise. * testsuite/ld-i386/ibt-plt-2c.d: Likewise. * testsuite/ld-i386/ibt-plt-2d.d: Likewise. * testsuite/ld-i386/ibt-plt-3a.d: Likewise. * testsuite/ld-i386/ibt-plt-3b.d: Likewise. * testsuite/ld-i386/ibt-plt-3c.d: Likewise. * testsuite/ld-i386/ibt-plt-3d.d: Likewise. * testsuite/ld-i386/load1.d: Likewise. * testsuite/ld-i386/pie1.d: Likewise. * testsuite/ld-i386/pr20244-1a.d: Likewise. * testsuite/ld-i386/pr20244-1b.d: Likewise. * testsuite/ld-i386/pr20244-2a.d: Likewise. * testsuite/ld-i386/pr20244-2b.d: Likewise. * testsuite/ld-i386/pr20244-2c.d: Likewise. * testsuite/ld-i386/pr20244-4a.d: Likewise. * testsuite/ld-i386/pr20244-4b.d: Likewise. * testsuite/ld-i386/pr20830.d: Likewise.
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
#source: ibt-plt-3.s
|
|
#as: --32
|
|
#ld: -shared -m elf_i386 -z ibtplt --hash-style=sysv -z noseparate-code
|
|
#readelf: -wf -n
|
|
|
|
Contents of the .eh_frame section:
|
|
|
|
0+ 00000014 00000000 CIE
|
|
Version: 1
|
|
Augmentation: "zR"
|
|
Code alignment factor: 1
|
|
Data alignment factor: -4
|
|
Return address column: 8
|
|
Augmentation data: 1b
|
|
|
|
DW_CFA_def_cfa: r4 \(esp\) ofs 4
|
|
DW_CFA_offset: r8 \(eip\) at cfa-4
|
|
DW_CFA_nop
|
|
DW_CFA_nop
|
|
|
|
0+18 0000001c 0000001c FDE cie=00000000 pc=000001e0..000001fe
|
|
DW_CFA_advance_loc: 1 to 000001e1
|
|
DW_CFA_def_cfa_offset: 8
|
|
DW_CFA_offset: r3 \(ebx\) at cfa-8
|
|
DW_CFA_advance_loc: 14 to 000001ef
|
|
DW_CFA_def_cfa_offset: 16
|
|
DW_CFA_advance_loc: 13 to 000001fc
|
|
DW_CFA_def_cfa_offset: 8
|
|
DW_CFA_advance_loc: 1 to 000001fd
|
|
DW_CFA_restore: r3 \(ebx\)
|
|
DW_CFA_def_cfa_offset: 4
|
|
|
|
0+38 00000010 0000003c FDE cie=00000000 pc=000001fe..00000202
|
|
DW_CFA_nop
|
|
DW_CFA_nop
|
|
DW_CFA_nop
|
|
|
|
0+4c 00000020 00000050 FDE cie=00000000 pc=00000190..000001c0
|
|
DW_CFA_def_cfa_offset: 8
|
|
DW_CFA_advance_loc: 6 to 00000196
|
|
DW_CFA_def_cfa_offset: 12
|
|
DW_CFA_advance_loc: 10 to 000001a0
|
|
DW_CFA_def_cfa_expression \(DW_OP_breg4 \(esp\): 4; DW_OP_breg8 \(eip\): 0; DW_OP_lit15; DW_OP_and; DW_OP_lit9; DW_OP_ge; DW_OP_lit2; DW_OP_shl; DW_OP_plus\)
|
|
|
|
0+70 00000010 00000074 FDE cie=00000000 pc=000001c0..000001e0
|
|
DW_CFA_nop
|
|
DW_CFA_nop
|
|
DW_CFA_nop
|
|
|