+Tue Apr 21 00:11:51 1998 Richard Henderson <rth@cygnus.com>
+
+ * archive.c (_bfd_generic_read_ar_hdr_mag): Simplify end-of-name test.
+
+ * elf64-alpha.c (elf64_alpha_find_reloc_at_ofs): Renamed from
+ elf64_alpha_relax_find_reloc_ofs. Changed all callers.
+ (elf64_alpha_add_symbol_hook): Put small commons in .scommon not .sbss.
+ (elf64_alpha_size_got_sections): Don't merge .got sections twice.
+
+Sat Apr 18 01:21:04 1998 Stan Cox <scox@cygnus.com>
+
+ * config.bfd: Added sparc86x support.
+
Fri Apr 17 22:29:04 1998 Ian Lance Taylor <ian@cygnus.com>
* elf32-mips.c (mips_elf_relocate_section): Do not complain about
gpdisp += addend;
- if ((bfd_signed_vma) gpdisp < -(bfd_signed_vma)0x80000000
- || gpdisp >= 0x7fff8000)
+ if ((bfd_signed_vma) gpdisp < -(bfd_signed_vma) 0x80000000
+ || (bfd_signed_vma) gpdisp >= (bfd_signed_vma) 0x7fff8000)
ret = bfd_reloc_overflow;
/* compensate for the sign extension again. */
boolean *again));
static Elf_Internal_Rela *
-elf64_alpha_relax_find_reloc_ofs (rel, relend, offset, type)
+elf64_alpha_find_reloc_at_ofs (rel, relend, offset, type)
Elf_Internal_Rela *rel, *relend;
bfd_vma offset;
int type;
info->changed_relocs = true;
/* Kill any HINT reloc that might exist for this insn. */
- xrel = (elf64_alpha_relax_find_reloc_ofs
+ xrel = (elf64_alpha_find_reloc_at_ofs
(info->relocs, info->relend, urel->r_offset,
R_ALPHA_HINT));
if (xrel)
/* Common symbols less than or equal to -G nn bytes are
automatically put into .sbss. */
- asection *sbss = bfd_get_section_by_name (abfd, ".sbss");
+ asection *scomm = bfd_get_section_by_name (abfd, ".scommon");
- if (sbss == NULL)
+ if (scomm == NULL)
{
- sbss = bfd_make_section (abfd, ".sbss");
- if (sbss == NULL
- || !bfd_set_section_flags (abfd, sbss, (SEC_ALLOC | SEC_LOAD
- | SEC_IS_COMMON
- | SEC_LINKER_CREATED)))
+ scomm = bfd_make_section (abfd, ".scommon");
+ if (scomm == NULL
+ || !bfd_set_section_flags (abfd, scomm, (SEC_ALLOC | SEC_LOAD
+ | SEC_IS_COMMON
+ | SEC_LINKER_CREATED)))
return false;
}
- if (bfd_get_section_alignment (abfd, sbss) < sym->st_value)
+ if (bfd_get_section_alignment (abfd, scomm) < sym->st_value)
{
- if (!bfd_set_section_alignment (abfd, sbss, sym->st_value))
+ if (!bfd_set_section_alignment (abfd, scomm, sym->st_value))
return false;
}
- *secp = sbss;
+ *secp = scomm;
*valp = sym->st_size;
}
if (cur_got_obj)
{
- if (elf64_alpha_can_merge_gots (cur_got_obj, i))
+ if (this_got == cur_got_obj)
+ ; /* Some previous pass merged us already. */
+ else if (elf64_alpha_can_merge_gots (cur_got_obj, i))
{
elf64_alpha_merge_gots (cur_got_obj, i);
*cur_got_tail = i;