aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/elf32.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/elf32.em')
-rw-r--r--ld/emultempl/elf32.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index 3350ac0..99fb8ab 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -1214,7 +1214,7 @@ ${ELF_INTERPRETER_SET_DEFAULT}
/* Also set SEC_EXCLUDE, so that symbols defined in the warning
section don't get copied to the output. */
- s->flags |= SEC_EXCLUDE;
+ s->flags |= SEC_EXCLUDE | SEC_KEEP;
}
}