]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld-elf/pr25207.d: Pass --no-rosegment to ld
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 30 Oct 2024 21:04:15 +0000 (05:04 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 30 Oct 2024 21:04:15 +0000 (05:04 +0800)
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>
ld/testsuite/ld-elf/pr25207.d

index edec7774e6000a91b2286b5272cf1616d416e467..945bae2020ff0e8d8ece5a0b8d9066051e50b9bf 100644 (file)
@@ -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)