[binutils-gdb] ld-elf/pr25207.d: Pass --no-rosegment to ld

H.J. Lu hjl@sourceware.org
Wed Oct 30 21:08:02 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=afc1f137e18363138d5fa4c88a9a2816926a3d5c

commit afc1f137e18363138d5fa4c88a9a2816926a3d5c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Oct 31 05:04:15 2024 +0800

    ld-elf/pr25207.d: Pass --no-rosegment to ld
    
    Pass --no-rosegment to ld to support linker configured with
    --enable-rosegment,
    
            PR ld/25207
            * ld-elf/pr25207.d: Pass --no-rosegment to ld.
    
    Signed-off-by: H.J. Lu <hjl.tools@gmail.com>

Diff:
---
 ld/testsuite/ld-elf/pr25207.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ld/testsuite/ld-elf/pr25207.d b/ld/testsuite/ld-elf/pr25207.d
index edec7774e60..945bae2020f 100644
--- a/ld/testsuite/ld-elf/pr25207.d
+++ b/ld/testsuite/ld-elf/pr25207.d
@@ -1,5 +1,5 @@
 #source: pr25207.s
-#ld: -z separate-code -Ttext-segment=0x120000 -z max-page-size=0x10000
+#ld: -z separate-code --no-rosegment -Ttext-segment=0x120000 -z max-page-size=0x10000
 #readelf: -l --wide
 #target: *-*-linux* *-*-gnu* arm*-*-uclinuxfdpiceabi
 # changing -Ttext-segment behaviour will break --image-base (pr25207)


More information about the Binutils-cvs mailing list