aboutsummaryrefslogtreecommitdiff
path: root/bfd/i386linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/i386linux.c')
-rw-r--r--bfd/i386linux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/i386linux.c b/bfd/i386linux.c
index 17c6180..519c40e 100644
--- a/bfd/i386linux.c
+++ b/bfd/i386linux.c
@@ -312,9 +312,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;