]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
tests/tcg/arm: Drop -N from LDFLAGS
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 5 Jul 2024 08:40:21 +0000 (09:40 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 5 Jul 2024 11:34:24 +0000 (12:34 +0100)
This is redudant with a linker script, and is not
supported by clang.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20240630190050.160642-10-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240705084047.857176-15-alex.bennee@linaro.org>

tests/tcg/arm/Makefile.softmmu-target

index 39e01ce49d7b52686d098becbcc1164c26e14124..547063c08cb60ad5fb85c8a9671c0edaa5284889 100644 (file)
@@ -13,7 +13,7 @@ VPATH                 += $(ARM_SRC)
 test-armv6m-undef: test-armv6m-undef.S
        $(CC) -mcpu=cortex-m0 -mfloat-abi=soft \
                -Wl,--build-id=none -x assembler-with-cpp \
-               $< -o $@ -nostdlib -N -static \
+               $< -o $@ -nostdlib -static \
                -T $(ARM_SRC)/$@.ld
 
 run-test-armv6m-undef: QEMU_OPTS=-semihosting-config enable=on,target=native,chardev=output -M microbit -kernel
@@ -30,7 +30,7 @@ CRT_PATH=$(ARM_SRC)
 LINK_SCRIPT=$(ARM_SRC)/kernel.ld
 LDFLAGS=-Wl,-T$(LINK_SCRIPT)
 CFLAGS+=-nostdlib -ggdb -O0 $(MINILIB_INC)
-LDFLAGS+=-static -nostdlib -N $(CRT_OBJS) $(MINILIB_OBJS) -lgcc
+LDFLAGS+=-static -nostdlib $(CRT_OBJS) $(MINILIB_OBJS) -lgcc
 
 # building head blobs
 .PRECIOUS: $(CRT_OBJS)