diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2001-01-03 22:53:39 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2001-01-03 22:53:39 +0000 |
commit | 3e932841da51a1a0858cca9a9e496e10c717e00a (patch) | |
tree | 7dc24b17615a1a3bc5b18e4c50cc7cb2add05d80 /bfd/elflink.c | |
parent | ad2a4d0953ad19f6995b6ebcf609759b1ed1e5e1 (diff) | |
download | gdb-3e932841da51a1a0858cca9a9e496e10c717e00a.zip gdb-3e932841da51a1a0858cca9a9e496e10c717e00a.tar.gz gdb-3e932841da51a1a0858cca9a9e496e10c717e00a.tar.bz2 |
2001-01-03 Kazu Hirata <kazu@hxi.com>
* ecoffswap.h: Fix formatting.
* elf-bfd.h: Likewise.
* elfarm-nabi.c: Likewise.
* elfarm-oabi.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.c: Likewise.
* elflink.h: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-target.h: Likewise.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index e9fb64d..1aa2db0 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -163,7 +163,7 @@ _bfd_elf_create_dynamic_sections (abfd, info) return false; } - s = bfd_make_section (abfd, + s = bfd_make_section (abfd, bed->default_use_rela_p ? ".rela.plt" : ".rel.plt"); if (s == NULL || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) @@ -199,9 +199,9 @@ _bfd_elf_create_dynamic_sections (abfd, info) copy relocs. */ if (! info->shared) { - s = bfd_make_section (abfd, - (bed->default_use_rela_p - ? ".rela.bss" : ".rel.bss")); + s = bfd_make_section (abfd, + (bed->default_use_rela_p + ? ".rela.bss" : ".rel.bss")); if (s == NULL || ! bfd_set_section_flags (abfd, s, flags | SEC_READONLY) || ! bfd_set_section_alignment (abfd, s, ptralign)) |