aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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.
2002-11-30daily updateAlan Modra1-1/+1
2002-11-30s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra272-19123/+19956
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-11-29daily updateAlan Modra1-1/+1
2002-11-28daily updateAlan Modra1-1/+1
2002-11-28include/elf/ChangeLogAlan Modra54-1313/+1076
* internal.h (elf32_internal_ehdr, Elf32_Internal_Ehdr, elf64_internal_ehdr, Elf64_Internal_Ehdr, elf32_internal_phdr, Elf32_Internal_Phdr, elf64_internal_phdr, Elf64_Internal_Phdr, elf32_internal_shdr, Elf32_Internal_Shdr, elf64_internal_shdr, Elf64_Internal_Shdr, elf32_internal_sym, elf64_internal_sym, Elf32_Internal_Sym, Elf64_Internal_Sym, Elf32_Internal_Note, elf32_internal_note, elf32_internal_rel, Elf32_Internal_Rel, elf64_internal_rel, Elf64_Internal_Rel, elf32_internal_rela, elf64_internal_rela, Elf32_Internal_Rela, Elf64_Internal_Rela, elf32_internal_dyn, elf64_internal_dyn, Elf32_Internal_Dyn, Elf64_Internal_Dyn, elf32_internal_verdef, elf64_internal_verdef, elf32_internal_verdaux, elf64_internal_verdaux, elf32_internal_verneed, elf64_internal_verneed, elf32_internal_vernaux, elf64_internal_vernaux, elf32_internal_versym, elf64_internal_versym, Elf32_Internal_Verdef, Elf64_Internal_Verdef, Elf32_Internal_Verdaux, Elf64_Internal_Verdaux, Elf32_Internal_Verneed, Elf64_Internal_Verneed, Elf32_Internal_Vernaux, Elf64_Internal_Vernaux, Elf32_Internal_Versym, Elf64_Internal_Versym, Elf32_Internal_Syminfo, Elf64_Internal_Syminfo): Delete. (Elf_Internal_Rel): Delete. bfd/ChangeLog * elf-bfd.h: Replace occurrences of Elf32_Internal_* and Elf64_Internal_* with Elf_Internal_*. Replace Elf_Internal_Rel with Elf_Internal_Rela. * elf-hppa.h, elf-m10200.c, elf-m10300.c, elf32-arc.c, elf32-arm.h, elf32-avr.c, elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c, elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c, elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c, elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-v850.c, elf32-vax.c, elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c, elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, elfarm-oabi.c, elfcode.h, elflink.h, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c: Ditto. * elf-hppa.h (elf_hppa_internal_shdr): Delete. Use Elf_Internal_Shdr throughout instead. * elf.c (_bfd_elf_no_info_to_howto_rel): Delete. * elfcode.h (elf_swap_reloca_in): Pass source operand as a bfd_byte *. Remove INLINE keyword. (elf_swap_reloc_in): Likewise. Also clear r_addend. (elf_swap_reloc_out, elf_swap_reloca_out): Pass destination operand as a bfd_byte *. (elf_write_relocs): Consolidate REL and RELA code. (elf_slurp_reloc_table_from_section): Simplify REL code. (NAME(_bfd_elf,size_info)): Populate reloc swap entries. * elf-bfd.h (MAX_INT_RELS_PER_EXT_REL): Define. * elflink.h (elf_link_read_relocs_from_section): Consolidate REL and RELA code. (elf_link_adjust_relocs): Likewise. Don't malloc space for temp reloc array, use a fixed size of MAX_INT_RELS_PER_EXT_REL. (elf_link_output_relocs): Likewise. (elf_reloc_link_order): Likewise. (elf_finish_pointer_linker_section): Likewise. (struct elf_link_sort_rela): Remove union. (elf_link_sort_cmp1): Update to suit. (elf_link_sort_cmp2): Here too. (elf_link_sort_relocs): Consolidate REL and RELA code. Fix memory over-allocation for int_rels_per_ext_rel != 1 case. * elf32-arm.h: Update all bfd_elf32_swap_reloc_out calls. * elf32-i386.c: Likewise. * elf32-cris.c: Likewise for bfd_elf32_swap_reloca_out. * elf32-hppa.c, elf32-i370.c, elf32-m68k.c, elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-vax.c, elfxx-mips.c: Likewise. * elf64-alpha.c: Likewise for bfd_elf64_swap_reloca_out. * elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c: Likewise. * elfxx-ia64.c: Likewise for bfd_elfNN_swap_reloca_out. * elfxx-mips.c (sort_dynamic_relocs): Likewise for bfd_elf32_swap_reloc_in. * elf32-arm.h: Update elf32_arm_info_to_howto calls. * elf32-mips.c: Likewise for mips_info_to_howto_rel. (mips_elf64_swap_reloc_in): Zero r_addend. (mips_elf64_be_swap_reloc_in): Likewise. (mips_elf64_slurp_one_reloc_table): Simplify. * elf64-alpha.c (alpha_elf_size_info): Populate reloc swap entries. * elf64-hppa.c (hppa64_elf_size_info): Likewise. * elf64-sparc.c (sparc64_elf_size_info): Likewise.
2002-11-28 * elf32-sh.c (sh_elf_relocate_section): Don't complain aboutKaz Kojima3-1/+21
unresolved debugging relocs in dynamic applications. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * ld-sh/refdbg-0-dso.d: New test. * ld-sh/refdbg-1.d: Likewise. * ld-sh/refdbg.s: Likewise. * ld-sh/refdbglib.s: Likewise.
2002-11-27daily updateAlan Modra1-1/+1
2002-11-26daily updateAlan Modra1-1/+1
2002-11-26 * elf-eh-frame.c (ENSURE_NO_RELOCS): Disregard R_*_NONE relocs.Alan Modra6-20/+54
(_bfd_elf_discard_section_eh_frame): Don't discard duplicate CIEs on a relocatable link. Comment typos. * elf.c (_bfd_elf_link_hash_newfunc): Assign elements of structure in the order they are declared. Clear elf_hash_value too. (_bfd_elf_link_hash_table_init): Likewise assign in order. Clear eh_info and tls_segment. * elflink.h (elf_link_input_bfd <emit_relocs>): Keep reloc offsets sorted when discarding relocs by turning them into R_*_NONE. * libbfd.c (warn_deprecated): Comment spelling. * po/SRC-POTFILES.in: Regenerate.
2002-11-25daily updateAlan Modra1-1/+1
2002-11-24daily updateAlan Modra1-1/+1
2002-11-23daily updateAlan Modra1-1/+1
2002-11-22daily updateAlan Modra1-1/+1
2002-11-21daily updateAlan Modra1-1/+1
2002-11-21 * elflink.h (elf_link_add_object_symbols): Don't overwrite theRichard Henderson2-15/+18
arch's st_other bits when merging visibilities. (elf_link_output_extsym): Tidy clearing of visibility field.
2002-11-21 * coff-mcore.c (SWAP_IN_RELOC_OFFSET): Define.Alan Modra2-0/+10
(SWAP_OUT_RELOC_OFFSET): Define.
2002-11-20daily updateAlan Modra1-1/+1
2002-11-20* elf.c (_bfd_elf_link_hash_table_init): Make sureAlexandre Oliva2-1/+10
can_refcount is properly extended to the type of init_refcount.
2002-11-19daily updateAlan Modra1-1/+1
2002-11-19* elfxx-mips.c (MIPS_RELOC_RELA_P): New macro.Alexandre Oliva2-1/+24
(_bfd_mips_elf_relocate_section): Use it.
2002-11-19* elfxx-mips.c (MNAME): New macro.Alexandre Oliva2-16/+17
(_bfd_mips_elf_check_relocs): Use it. (_bfd_mips_elf_discard_info): Likewise. (_bfd_mips_elf_final_link): Likewise.
2002-11-19 * elf64-ppc.c (ppc64_elf_edit_opd): When deleting relocs, adjustAlan Modra2-0/+10
rel_hdr.sh_size too.
2002-11-18daily updateAlan Modra1-1/+1
2002-11-182002-11-16 Klee Dienes <kdienes@apple.com>Klee Dienes17-1127/+1344
* Makefile.am (BFD32_LIBS): Add bfdwin.lo, bfdio.lo. (BFD32_LIBS_CFILES): Add bfdwin.c, bfdio.c. (BFD_H_FILES): Add bfdwin.c, bfdio.c. (LIBBFD_H_FILES): Add bfdwin.c, bfdio.c. Add dependencies for bfdwin.c, bfdio.c. * bfd.c: Remove bfd_get_mtime, bfd_get_size. * libbfd.c: Remove real_read, bfd_bread, _bfd_window_internal, bfd_init_window, bfd_free_window, bfd_get_file_window, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat, bfd_seek. * bfdio.c: New file. Contains real_read, bfd_bread, bfd_write, bfd_tell, bfd_flush, bfd_stat, bfd_seek, bfd_ge_mtime, bfd_get_size (moved from libbfd.c and bfd.c). * bfdwin.c New file. Contains _bfd_window_internal, bfd_init_window, bfd_free_window, bfd_get_file_window (moved from libbfd.c and bfd.c). * po/SRC-POTFILES.in: Regenerate. * po/bfd.pot: Regenerate. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate. 2002-11-16 Klee Dienes <kdienes@apple.com> * Makefile.am (DOCFILES): Add bfdwin.texi, bfdio.texi. (PROTOS): Add bfdio.p, bfdwin.p. (SRCDOC): Add bfdio.c, bfdwin.c. (SRCPROT): Add bfdio.c, bfdwin.c. (SRCIPROT): Add bfdio.c, bfdwin.c. (LIBBFD_H_DEP): Add bfdio.c, bfdwin.c. (BFD_H_DEP): Add bfdio.c, bfdwin.c. Add rules for bfdio.texi, bfdwin.text. * bfd.texinfo: Include bfdio.texi.
2002-11-18 * bfd.c (bfd_preserve_save): Don't zero BFD_IN_MEMORY.Alan Modra2-10/+11
2002-11-17daily updateAlan Modra1-1/+1
2002-11-16daily updateAlan Modra1-1/+1
2002-11-16Remove spurious ChangeLog addition.Klee Dienes1-15/+0
2002-11-162002-11-16 Klee Dienes <kdienes@apple.com>Klee Dienes1-0/+15
* m88k.h (INSTAB): Remove 'next' field. (instruction): Remove definition; replace with extern declaration and mark as const. 2002-11-16 Klee Dienes <kdienes@apple.com> * m88k-dis.c: (HASHTAB): New type, used to build instruction hash tables. Contains a pointer to an INSTAB and a pointer to the next hash chain entry. (instructions): Move definition from m88k.h; remove initialization of 'next' field. (hashtable): Now an aray of pointer-to-HASHTAB, not INSTAB. (printop): Mark pointer to OPSPEC as const. (install): Remove; fold into init_disasm. (m88kdis): Update to ihashtab_initialized to 1 after calling init_disasm. entry_ptr now iterates through HASHTABs, not INSTABs. (init_disasm): Iterate through the instructions and add to hashtable[].