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>
This commit is contained in:
H.J. Lu
2024-10-31 05:04:15 +08:00
parent b02e6f38a6
commit afc1f137e1

View 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)