0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-18 10:53:48 +02:00

configure: Keep text section prefixes (ld.gold).

This commit is contained in:
Jason Volk 2022-07-07 16:40:11 -07:00
parent c652e8172c
commit 57e8e0772d

View file

@ -1055,6 +1055,7 @@ dnl RB_VAR_PREPEND([LDFLAGS], ["-Wl,--icf=all"])
RB_VAR_PREPEND([LDFLAGS], ["-Wl,-z,noexecstack"])
RB_VAR_PREPEND([LDFLAGS], ["-Wl,-z,combreloc"])
RB_VAR_PREPEND([LDFLAGS], ["-Wl,-z,text-unlikely-segment"])
RB_VAR_PREPEND([LDFLAGS], ["-Wl,-z,keep-text-section-prefix"])
])
dnl Note compact mode options available in both GOLD and LLD