aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/elf.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/elf.em')
-rw-r--r--ld/emultempl/elf.em4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/emultempl/elf.em b/ld/emultempl/elf.em
index 5e59f38..cea89e5 100644
--- a/ld/emultempl/elf.em
+++ b/ld/emultempl/elf.em
@@ -760,6 +760,10 @@ fragment <<EOF
{
link_info.flags_1 |= DF_1_GLOBAUDIT;
}
+ else if (CONST_STRNEQ (optarg, "start-stop-gc"))
+ link_info.start_stop_gc = TRUE;
+ else if (CONST_STRNEQ (optarg, "nostart-stop-gc"))
+ link_info.start_stop_gc = FALSE;
else if (CONST_STRNEQ (optarg, "start-stop-visibility="))
{
if (strcmp (optarg, "start-stop-visibility=default") == 0)