aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2002-12-21Disable WINCE workaround that subtracted 8 from pc relative relocations.Nick Clifton2-0/+8
2002-12-20daily updateAlan Modra1-1/+1
2002-12-20 * coff-h8300.c: Fix comment typos.Kazu Hirata10-12/+24
* coffcode.h: Likewise. * cpu-cris.c: Likewise. * elf32-vax.c: Likewise. * genlink.h: Likewise. * linker.c: Likewise. * som.c: Likewise. * tekhex.c: Likewise. * vms-misc.c: Likewise.
2002-12-20* reloc.c: Add BFD_RELOC_XSTORMY16_12.DJ Delorie5-1/+29
* libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_12. (xstormy16_reloc_map): Add R_XSTORMY16_12.
2002-12-20 * doc/bfdint.texi: Fix typos.Kazu Hirata2-2/+6
2002-12-20 * acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o".Alan Modra6-517/+490
* configure.in (build-warnings): Likewise. (Horrible hacks to build DLLs on Windows): Do not rely on "tail -1". * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate.
2002-12-19daily updateAlan Modra1-1/+1
2002-12-19 * coff-h8300.c: Include libiberty.h.Alan Modra2-34/+62
(h8300_reloc16_extra_cases): Check the hash table creator before referencing h8300 specific fields. Stash the hash table pointer in a local var. Comment typo fixes. (h8300_bfd_link_add_symbols): Likewise.
2002-12-18daily updateAlan Modra1-1/+1
2002-12-18 * bfd/reloc.c (struct reloc_howto_struct): Revise src_mask andAlan Modra3-22/+26
dst_mask comments. * bfd-in2.h: Regenerate.
2002-12-18 * elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic relocAlan Modra2-6/+15
code a little. Comment on dynamic relocs against section symbols.
2002-12-17daily updateAlan Modra1-1/+1
2002-12-17 * configure.host (ia64-*-hpux*): Support 64 bit targets usingAlan Modra2-1/+10
the HP compiler's "long long".
2002-12-17* elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16DJ Delorie2-1/+41
and R_XSTORMY16_HI16) howto entries. (xstormy16_reloc_map): Map R_XSTORMY16_{LO,HI}16 to BFD_RELOC_{LO,HI}16. (xstormy16_info_to_howto_rela): Use R_XSTORMY16_GNU_VTINHERIT to determine the start of the second reloc table.
2002-12-16daily updateAlan Modra1-1/+1
2002-12-16Fix the reading of the debugging information of Tru64/Alpha binaries thatNick Clifton2-42/+169
are produced by recent Compaq compilers.
2002-12-15daily updateAlan Modra1-1/+1
2002-12-14daily updateAlan Modra1-1/+1
2002-12-13daily updateAlan Modra1-1/+1
2002-12-12daily updateAlan Modra1-1/+1
2002-12-12* elf-m10300.c (elf32_mn10300_link_hash_newfunc): ReorderAlexandre Oliva2-1/+6
initializers to match struct declaration.
2002-12-12Comment typo fixes.Alan Modra6-6/+15
2002-12-12 * elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offsetAlan Modra4-42/+79
to DT_JMPREL. Use srelplt input section size for DT_PLTRELSZ and DT_RELSZ adjustment, not output section. Avoid writing tags when unchanged. Don't assume linker script is sane, adjust DT_REL too. * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Just use raw size of srelplt for DT_PLTRELSZ. Use srelplt input section size for DT_RELASZ adjustment, not output section. Avoid writing tags when unchanged. Adjust DT_RELA. * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Tweaks for better formatting. Avoid writing tags when unchanged. Adjust DT_RELA.
2002-12-12* elfxx-mips.c (mips_elf_calculate_relocation): Don't divideAlexandre Oliva2-1/+5
addend by 4.
2002-12-12* elfxx-mips.c (struct mips_got_entry): New.Alexandre Oliva2-87/+144
(struct mips_got_info): Added got_entries field. (mips_elf_got_entry_hash, mips_elf_got_entry_eq): New functions. (mips_elf_local_got_index, mips_elf_got_page, mips_elf_got16_entry): Re-implement in terms of new... (mips_elf_create_local_got_entry): Rewrite to use got_entries. Change return type. (mips_elf_highest): Warning clean-up. (mips_elf_create_got_section): Initialize got_entries. (_bfd_mips_elf_check_relocs): Use got_entries to estimate local got size. (_bfd_mips_elf_size_dynamic_sections): Do not account for GOT_PAGE entries, since we now reuse GOT16 entries.
2002-12-11daily updateAlan Modra1-1/+1
2002-12-10daily updateAlan Modra1-1/+1
2002-12-10Allow an otherwise unrepresentable read-only section that lies after .textNick Clifton3-36/+76
and before .data to be written into the output file and included in a_text.
2002-12-09daily updateAlan Modra1-1/+1
2002-12-08daily updateAlan Modra1-1/+1
2002-12-08 * bfd-in.h: Comment typo fix. Formatting.Alan Modra6-51/+61
* bfd-in2.h: Regenerate. * coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix. * elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype. * elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix.
2002-12-07daily updateAlan Modra1-1/+1
2002-12-06daily updateAlan Modra1-1/+1
2002-12-06 * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI.Richard Henderson2-32/+53
Only send PCREL21B though the plt. Fix installed reloc type. (elfNN_ia64_relocate_section): Give error for dynamic reloc against PCREL22 or PCREL64I; clean up error messages for branch relocs.
2002-12-05daily updateAlan Modra1-1/+1
2002-12-05Add n64 core file support for Linux/MIPS.Kevin Buettner2-0/+78
2002-12-05Patch to update IA-64 port to SDM 2.1.Jim Wilson2-0/+5
bfd/ChangeLog * cpu-ia64-opc.c: Add operand constant "ar.csd". gas/ChangeLog * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint" instruction. (emit_one_bundle): Handle "hint" instruction. (operand_match): Match IA64_OPND_AR_CSD. gas/testsuite/ChangeLog * gas/ia64/opc-b.d: Update for instructions added by SDM2.1. * gas/ia64/opc-b.s: Ditto. * gas/ia64/opc-f.d: Ditto. * gas/ia64/opc-f.s: Ditto. * gas/ia64/opc-i.d: Ditto. * gas/ia64/opc-i.s: Ditto. * gas/ia64/opc-m.d: Ditto. * gas/ia64/opc-m.s: Ditto. * gas/ia64/opc-x.d: Ditto. * gas/ia64/opc-x.s: Ditto. include/opcode/ChangeLog * ia64.h: Fix copyright message. (IA64_OPND_AR_CSD): New operand kind. opcodes/ChangeLog * ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction. * ia64-opc-b.c: Add "hint.b" instruction. * ia64-opc-f.c: Add "hint.f" instruction. * ia64-opc-i.c: Add "hint.i" instruction. * ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and "cmp8xchg16" instructions. * ia64-opc-x.c: Add "hint.x" instruction. * ia64-opc.h (AR_CSD): New macro. * ia64-ic.tbl: Update according to SDM2.1. * ia64-raw.tbl: Ditto. * ia64-waw.tbl: Ditto. * ia64-gen.c (in_iclass): Handle "hint" like "nop". (lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD], AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR]. * ia64-asmtab.c: Regenerate.
2002-12-042002-12-04 H.J. Lu <hjl@gnu.org>H.J. Lu2-11/+12
* elfxx-ia64.c (get_local_sym_hash): Use section ID instead of BFD address when constructing local name.
2002-12-04daily updateAlan Modra1-1/+1
2002-12-04 * elf32-m68k.c (struct elf_m68k_link_hash_table): Add sym_secAndreas Schwab2-33/+80
member. (elf_m68k_link_hash_table_create): Initialize it. (elf_m68k_check_relocs): Handle symbols that are forced to be local due to visibility changes. (elf_m68k_adjust_dynamic_symbol): Likewise. (elf_m68k_size_dynamic_sections): Likewise. (elf_m68k_discard_copies): Likewise. (elf_m68k_relocate_section): Likewise.
2002-12-04 * elf64-ppc.c (ppc64_elf_edit_opd): Correct typo.Alan Modra2-19/+23
2002-12-03 * srec.c (srec_write_symbols): Restore '$' prefix to addressAlan Modra2-5/+12
accidentally removed in 2002-04-04 change. (srec_get_symtab): Use 0 instead of `(long) FALSE'.
2002-12-03daily updateAlan Modra1-1/+1
2002-12-03Fix typo in ChangeLog entry.Nick Clifton1-1/+7
Add paranoia checks to .PPC.EMB.apuinfo merging code.
2002-12-03Fix the merging of .PPC.EMB.apuinfo sections. Add a test to make sure thatNick Clifton2-0/+320
the fix continues to work.
2002-12-03include/opcode/Richard Henderson2-0/+7
* ia64.h (enum ia64_opnd): Add IA64_OPND_LDXMOV. bfd/ * cpu-ia64-opc.c (elf64_ia64_operands): Add ldxmov entry. opcodes/ * ia64-opc-m.c: Add ld8.mov. * ia64-asmtab.c: Regenerate. gas/ * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case. gas/testsuite/ * gas/ia64/ldxmov-1.[ds]: New. * gas/ia64/ldxmov-2.[ls]: New. * gas/ia64/ia64.exp: Run them.
2002-12-02daily updateAlan Modra1-1/+1
2002-12-01daily updateAlan Modra1-1/+1
2002-12-01 Fix PR savannah/1417:Stephane Carrez2-1/+7
* elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Don't adjust branch if it goes to the start of the deleted region.
2002-12-01 * bfd-in2.h (bfd_mach_m6812): Rebuild.Stephane Carrez4-9/+67
* archures.c (bfd_mach_m6812_default, bfd_mach_m6812, bfd_mach_m6812s): Declare. * elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): New function. (_bfd_m68hc12_elf_set_private_flags): Call it. (_bfd_m68hc12_elf_print_private_bfd_data): Report processor version. (_bfd_m68hc12_elf_merge_private_bfd_data): Merge the flags and report microcontroller incompatibilities (HC12 vs HCS12). (elf_backend_object_p): Update.