diff options
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 4ae9cec..8014e7a 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -4225,7 +4225,7 @@ map_input_to_output_sections break; } if (os->bfd_section == NULL) - init_os (os, flags); + init_os (os, flags | SEC_READONLY); else os->bfd_section->flags |= flags; break; |