From: H.J. Lu Date: Fri, 12 Jan 2018 04:46:01 +0000 (-0800) Subject: ld: Replace "-z textonly" with "-z separate-code" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33eff4ce18fbee82ef39838b7c8623aed17dea60;p=binutils-gdb.git ld: Replace "-z textonly" with "-z separate-code" Although they aren't passed to linker, we should get it right. * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with "-z separate-code". * testsuite/ld-elf/pr22393-2b.rd: Likewise. * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 6002fbfd10f..19e34dadc16 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2018-01-11 H.J. Lu + + * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with + "-z separate-code". + * testsuite/ld-elf/pr22393-2b.rd: Likewise. + * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. + * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. + 2018-01-11 H.J. Lu PR ld/22393 diff --git a/ld/testsuite/ld-elf/pr22393-2a.rd b/ld/testsuite/ld-elf/pr22393-2a.rd index b7ba1100952..0050f1bdad2 100644 --- a/ld/testsuite/ld-elf/pr22393-2a.rd +++ b/ld/testsuite/ld-elf/pr22393-2a.rd @@ -1,5 +1,5 @@ #source: pr22393-1.s -#ld: -shared -z textonly +#ld: -shared -z separate-code #readelf: -l --wide #target: *-*-linux-gnu *-*-gnu* *-*-nacl* diff --git a/ld/testsuite/ld-elf/pr22393-2b.rd b/ld/testsuite/ld-elf/pr22393-2b.rd index b7ba1100952..0050f1bdad2 100644 --- a/ld/testsuite/ld-elf/pr22393-2b.rd +++ b/ld/testsuite/ld-elf/pr22393-2b.rd @@ -1,5 +1,5 @@ #source: pr22393-1.s -#ld: -shared -z textonly +#ld: -shared -z separate-code #readelf: -l --wide #target: *-*-linux-gnu *-*-gnu* *-*-nacl* diff --git a/ld/testsuite/ld-x86-64/pr22393-3a.rd b/ld/testsuite/ld-x86-64/pr22393-3a.rd index b7ba1100952..0050f1bdad2 100644 --- a/ld/testsuite/ld-x86-64/pr22393-3a.rd +++ b/ld/testsuite/ld-x86-64/pr22393-3a.rd @@ -1,5 +1,5 @@ #source: pr22393-1.s -#ld: -shared -z textonly +#ld: -shared -z separate-code #readelf: -l --wide #target: *-*-linux-gnu *-*-gnu* *-*-nacl* diff --git a/ld/testsuite/ld-x86-64/pr22393-3b.rd b/ld/testsuite/ld-x86-64/pr22393-3b.rd index b7ba1100952..0050f1bdad2 100644 --- a/ld/testsuite/ld-x86-64/pr22393-3b.rd +++ b/ld/testsuite/ld-x86-64/pr22393-3b.rd @@ -1,5 +1,5 @@ #source: pr22393-1.s -#ld: -shared -z textonly +#ld: -shared -z separate-code #readelf: -l --wide #target: *-*-linux-gnu *-*-gnu* *-*-nacl*