]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/vdso: remove unused ENTRY in linker scripts
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 9 Feb 2024 10:54:01 +0000 (11:54 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 14 Feb 2024 12:50:53 +0000 (13:50 +0100)
commit616c4ea9bce426aa6efd6dc333bdd479ce352df0
tree572cb48a5b8529575c6e29ba04fbc86a2ca81ad1
parent3938490e78f443fb0b734a15a50abba020638ff8
s390/vdso: remove unused ENTRY in linker scripts

When linking vdso64.so.dbg with ld.lld, there is a warning about not
finding _start for the starting address:

  ld.lld: warning: cannot find entry symbol _start; not setting start address

Fix this by removing the unused ENTRY in both vdso linker scripts. See
commit e247172854a5 ("powerpc/vdso: Remove unused ENTRY in linker
scripts"), which solved the same problem for powerpc, for further details.

Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/vdso32/vdso32.lds.S
arch/s390/kernel/vdso64/vdso64.lds.S