Skip to content

Commit bdbf203

Browse files
masahir0ytsbogend
authored andcommitted
MIPS: VDSO: remove -nostdlib compiler flag
The -nostdlib option requests the compiler to not use the standard system startup files or libraries when linking. It is effective only when $(CC) is used as a linker driver. Since commit 2ff9069 ("MIPS: VDSO: Use $(LD) instead of $(CC) to link VDSO"), $(LD) is directly used, hence -nostdlib is unneeded. Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 5eeaafc commit bdbf203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/vdso/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ endif
5757

5858
# VDSO linker flags.
5959
ldflags-y := -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \
60-
$(filter -E%,$(KBUILD_CFLAGS)) -nostdlib -shared \
60+
$(filter -E%,$(KBUILD_CFLAGS)) -shared \
6161
-G 0 --eh-frame-hdr --hash-style=sysv --build-id=sha1 -T
6262

6363
CFLAGS_REMOVE_vdso.o = $(CC_FLAGS_FTRACE)

0 commit comments

Comments
 (0)