diff options
Diffstat (limited to 'ld/emultempl/m68kelf.em')
-rw-r--r-- | ld/emultempl/m68kelf.em | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ld/emultempl/m68kelf.em b/ld/emultempl/m68kelf.em index 57a8f1d..441b489 100644 --- a/ld/emultempl/m68kelf.em +++ b/ld/emultempl/m68kelf.em @@ -100,13 +100,12 @@ m68k_elf_after_open (void) { asection *relsec; - relsec = bfd_make_section (abfd, ".emreloc"); + relsec = bfd_make_section_with_flags (abfd, ".emreloc", + (SEC_ALLOC + | SEC_LOAD + | SEC_HAS_CONTENTS + | SEC_IN_MEMORY)); if (relsec == NULL - || ! bfd_set_section_flags (abfd, relsec, - (SEC_ALLOC - | SEC_LOAD - | SEC_HAS_CONTENTS - | SEC_IN_MEMORY)) || ! bfd_set_section_alignment (abfd, relsec, 2) || ! bfd_set_section_size (abfd, relsec, datasec->reloc_count * 12)) |