mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-31 14:11:36 +08:00
x86-64: Pass -z separate-code to ld for -z mark-plt tests
Pass -z separate-code to ld for -z mark-plt tests to fix: FAIL: ld-x86-64/mark-plt-1a FAIL: ld-x86-64/mark-plt-1b FAIL: ld-x86-64/mark-plt-1c FAIL: ld-x86-64/mark-plt-1d FAIL: ld-x86-64/mark-plt-1a-x32 FAIL: ld-x86-64/mark-plt-1b-x32 FAIL: ld-x86-64/mark-plt-1c-x32 FAIL: ld-x86-64/mark-plt-1d-x32 when binutils is configured with --disable-separate-code. * ld-x86-64/mark-plt-1a-x32.d: Pass -z separate-code to ld. * ld-x86-64/mark-plt-1a.d: Likewise. * ld-x86-64/mark-plt-1b-x32.d: Likewise. * ld-x86-64/mark-plt-1b.d: Likewise. * ld-x86-64/mark-plt-1c-x32.d: Likewise. * ld-x86-64/mark-plt-1c.d: Likewise. * ld-x86-64/mark-plt-1d-x32.d: Likewise. * ld-x86-64/mark-plt-1d.d: Likewise. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
parent
2d1374a760
commit
c44400b6ad
@ -1,6 +1,6 @@
|
||||
#source: mark-plt-1.s
|
||||
#as: --x32
|
||||
#ld: -melf32_x86_64 -shared -z mark-plt --no-rosegment
|
||||
#ld: -melf32_x86_64 -shared -z mark-plt -z separate-code --no-rosegment
|
||||
#readelf: -drW
|
||||
|
||||
#...
|
||||
|
@ -1,6 +1,6 @@
|
||||
#source: mark-plt-1.s
|
||||
#as: --64
|
||||
#ld: -melf_x86_64 -shared -z mark-plt --no-rosegment
|
||||
#ld: -melf_x86_64 -shared -z mark-plt -z separate-code --no-rosegment
|
||||
#readelf: -drW
|
||||
|
||||
#...
|
||||
|
@ -1,6 +1,6 @@
|
||||
#source: mark-plt-1.s
|
||||
#as: --x32
|
||||
#ld: -melf32_x86_64 -shared -z mark-plt --hash-style=both --no-rosegment
|
||||
#ld: -melf32_x86_64 -shared -z mark-plt -z separate-code --hash-style=both --no-rosegment
|
||||
#objdump: -dw
|
||||
|
||||
#...
|
||||
|
@ -1,6 +1,6 @@
|
||||
#source: mark-plt-1.s
|
||||
#as: --64
|
||||
#ld: -melf_x86_64 -shared -z mark-plt --hash-style=both --no-rosegment
|
||||
#ld: -melf_x86_64 -shared -z mark-plt -z separate-code --hash-style=both --no-rosegment
|
||||
#objdump: -dw
|
||||
|
||||
#...
|
||||
|
@ -1,6 +1,6 @@
|
||||
#source: mark-plt-1.s
|
||||
#as: --x32
|
||||
#ld: -melf32_x86_64 -shared -z mark-plt -z ibtplt --no-rosegment
|
||||
#ld: -melf32_x86_64 -shared -z mark-plt -z separate-code -z ibtplt --no-rosegment
|
||||
#readelf: -drW
|
||||
|
||||
#...
|
||||
|
@ -1,6 +1,6 @@
|
||||
#source: mark-plt-1.s
|
||||
#as: --64
|
||||
#ld: -melf_x86_64 -shared -z mark-plt -z ibtplt --no-rosegment
|
||||
#ld: -melf_x86_64 -shared -z mark-plt -z separate-code -z ibtplt --no-rosegment
|
||||
#readelf: -drW
|
||||
|
||||
#...
|
||||
|
@ -1,6 +1,6 @@
|
||||
#source: mark-plt-1.s
|
||||
#as: --x32
|
||||
#ld: -melf32_x86_64 -shared -z mark-plt -z ibtplt --hash-style=both --no-rosegment
|
||||
#ld: -melf32_x86_64 -shared -z mark-plt -z separate-code -z ibtplt --hash-style=both --no-rosegment
|
||||
#objdump: -dw
|
||||
|
||||
#...
|
||||
|
@ -1,6 +1,6 @@
|
||||
#source: mark-plt-1.s
|
||||
#as: --64
|
||||
#ld: -melf_x86_64 -shared -z mark-plt -z ibtplt --hash-style=both --no-rosegment
|
||||
#ld: -melf_x86_64 -shared -z mark-plt -z separate-code -z ibtplt --hash-style=both --no-rosegment
|
||||
#objdump: -dw
|
||||
|
||||
#...
|
||||
|
Loading…
x
Reference in New Issue
Block a user