Skip to content

Commit 9bc19d4

Browse files
masahir0yRussell King (Oracle)
authored andcommitted
ARM: 9181/1: 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 fe00e50 ("ARM: 8858/1: vdso: use $(LD) instead of $(CC) to link VDSO"), $(LD) is directly used, hence -nostdlib is unneeded. Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
1 parent e46e45f commit 9bc19d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/vdso/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ccflags-y += -DDISABLE_BRANCH_PROFILING -DBUILD_VDSO32
1818

1919
ldflags-$(CONFIG_CPU_ENDIAN_BE8) := --be8
2020
ldflags-y := -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \
21-
-z max-page-size=4096 -nostdlib -shared $(ldflags-y) \
21+
-z max-page-size=4096 -shared $(ldflags-y) \
2222
--hash-style=sysv --build-id=sha1 \
2323
-T
2424

0 commit comments

Comments
 (0)