summaryrefslogtreecommitdiff
path: root/bfd/m68klinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/m68klinux.c')
-rw-r--r--bfd/m68klinux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/m68klinux.c b/bfd/m68klinux.c
index 2c12a7c776e..03f8eaac0f0 100644
--- a/bfd/m68klinux.c
+++ b/bfd/m68klinux.c
@@ -316,9 +316,8 @@ linux_link_create_dynamic_sections (abfd, info)
/* We choose to use the name ".linux-dynamic" for the fixup table.
Why not? */
- s = bfd_make_section (abfd, ".linux-dynamic");
+ s = bfd_make_section_with_flags (abfd, ".linux-dynamic", flags);
if (s == NULL
- || ! bfd_set_section_flags (abfd, s, flags)
|| ! bfd_set_section_alignment (abfd, s, 2))
return FALSE;
s->size = 0;