mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
base: Don't produce .gnu.hash tables for Genode.
Genode linker does not support .gnu.hash tables so they will never be used. Tell the linker not to bother producing them. This should reduce the size of Genode ELF files a tiny bit without loosing anything important in the process. Fixes #4423
This commit is contained in:
parent
3e460211c8
commit
dd1596aa53
@ -216,6 +216,12 @@ LD_OPT += $(LD_MARCH) $(LD_OPT_GC_SECTIONS) $(LD_OPT_ALIGN_SANE)
|
||||
CXX_LINK_OPT += $(addprefix $(LD_OPT_PREFIX),$(LD_OPT))
|
||||
CXX_LINK_OPT += $(LD_OPT_NOSTDLIB)
|
||||
|
||||
#
|
||||
# Genode linker does not support .gnu.hash so there is no point in having it
|
||||
# in the ELF files. Tell the linker to only produce SysV hash tables.
|
||||
#
|
||||
LD_OPT += --hash-style=sysv
|
||||
|
||||
#
|
||||
# Linker script for dynamically linked programs
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user