aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2000-05-25Delete pass on manually added dependency for readelf.o for new targetHans-Peter Nilsson1-3/+1
2000-05-24 * bfdint.texi (BFD ELF processor required): Add paragraph aboutHans-Peter Nilsson2-0/+11
target necessities for readelf.
2000-05-232000-05-23 H.J. Lu <hjl@gnu.org>H.J. Lu3-3/+6
* elf32-mips.c (mips_elf_calculate_relocation): Check h->root.other not h->other. * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
2000-05-232000-05-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+7
* elf64-alpha.c (elf64_alpha_relocate_section): Check h->root.other not h->other.
2000-05-232000-05-23 H.J. Lu <hjl@gnu.org>H.J. Lu13-21/+66
* elf32-i386.c (elf_i386_relocate_section): Don't allow the undefined symbol with the non-default visibility attributes. * elf-hppa.h (elf_hppa_relocate_section): Likewise. * elf32-arm.h (elf32_arm_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-mips.c (mips_elf_calculate_relocation): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf64-ia64.c (elf64_ia64_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
2000-05-23 * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,Richard Henderson5-33/+462
PCREL22, PCREL64I. Zero size of special relocs. (elf64_ia64_reloc_type_lookup): Likewise. (USE_BRL, oor_brl, oor_ip): New. (elf64_ia64_relax_section): New. (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I. (elf64_ia64_install_value): Likewise, plus PCREL21BI. (elf64_ia64_relocate_section): Likewise. (bfd_elf64_bfd_relax_section): New. * reloc.c (BFD_RELOC_IA64_PCREL21BI): New. (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New. * bfd-in2.h, libbfd.h: Regenerate.
2000-05-22Add peigen.lo to MIPS PE targetNick Clifton3-22/+21
2000-05-22Use bfd_generic_verify_endian_match() and fix it to only check when endiannessNick Clifton6-62/+37
is known.
2000-05-222000-05-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+10
* elflink.h (elf_link_output_extsym): Clear the visibility field for symbols not defined locally.
2000-05-19 * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,Jeff Law3-13/+20
re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn. (hppa_rebuild_insn): Mask immediate bits here instead. * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
2000-05-18Force relocs emited for an executable to contain virtual addresses.Nick Clifton2-1/+10
2000-05-18 * config.bfd (hppa*64*-*-hpux11*): New target triplet.Jeff Law2-5/+5
2000-05-17Add part of patch omittede from previous deltaNick Clifton1-1/+1
2000-05-17Apply patch from Richard Gorton <gorton@scrugs.lkg.dec.com> to implementNick Clifton2-10/+19
--emit-relocs switch to the linker to preserve relocs in an output executable
2000-05-16 * som.c (som_decode_symclass): Recognize weak symbols.Catherine Moore2-0/+6
2000-05-16Fix problems introduced with my last change.Alan Modra2-19/+22
2000-05-15 * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.Joern Rennecke2-0/+11
2000-05-14Support ARM ELF defaulting to big endianPhil Blundell2-0/+8
2000-05-12Remove the erroneous ">>>>>>> 1.419".H.J. Lu1-1/+0
2000-05-12(bfd_target_vector): #ifdef BFD64 rs6000coff64_vecAlan Modra2-0/+4
2000-05-11Restore some functionality removed by previous patch.Alan Modra2-57/+100
Tidy printing of bfd_vma's.
2000-05-09Fix some nits shown up by objcopy.Alan Modra2-16/+40
2000-05-08Fix coredump discovered running m68k testsuite.Alan Modra2-1/+5
2000-05-08* trad-core.c (trad_unix_core_file_p): ReturnAlan Modra2-1/+4
bfd_error_wrong_format rather than bfd_error_file_truncated.
2000-05-08DataDirectory virtual address is relative. Fix to suit.Alan Modra2-102/+98
2000-05-06 * xcoff.h: Rename to xcoff-target.hClinton Popetz7-11/+20
* Makefile.am: Change all instances of xcoff.h to xcoff-target.h * coff-rs6000.c: Ditto. * coff64-rs6000.c: Ditto. * coff-pmac.c: Ditto. * Makefile.in: Regenerate.
2000-05-06bfd:Clinton Popetz2-2/+8
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Change U802TOC64MAGIC to U803XTOCMAGIC. include: * coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.
2000-05-052000-05-04 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder4-3/+30
* elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1. * bfd-in.h: Prototype bfd_elf_get_arch_size. * bfd-in2.h: Prototype bfd_elf_get_arch_size.
2000-05-04Fix thinko in 2000-05-02 change.Alan Modra2-1/+5
2000-05-042000-05-03 Martin v. Löwis <loewis@informatik.hu-berlin.de>H.J. Lu3-5/+33
* elflink.h (elf_link_add_object_symbols): Reset dynindx for hidden and internal symbols. (elf_fix_symbol_flags): Clear NEEDS_PLT for symbols with visibility. * elflink.c (_bfd_elf_link_record_dynamic_symbol): Do not assign a PLT or GOT entry to symbols with hidden and internal visibility.
2000-05-03go32 bss alignment.Alan Modra3-0/+10
2000-05-022000-05-02 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* elf.c (prep_headers): USe ELFOSABI_NONE instead of ELFOSABI_SYSV.
2000-05-02Restore elf32-hppa target vec.Alan Modra4-8/+21
2000-05-02Fix IA-64 --enable-targets=all bug reports.Jim Wilson3-4/+16
* Makefile.am (BFD32_BACKENDS): Add efi-app-ia32.lo. (BFD32_BACKENDS_CFILES): Add efi-app-ia32.c. (BFD64_BACKENDS): Delete coff-ia64.lo. Add efi-app-ia64.lo. (BFD64_BACKENDS_CFILES): Delete coff-ia64.c. Add efi-app-ia64.c. * Makefile.in: Rebuild.
2000-05-02Assorted code cleanup and fixes for hppa. Re-enable elf32-hppa asAlan Modra11-1056/+1269
it now compiles even if it doesn't work too well.
2000-05-01Fix "incompatible types in return" gcc error.Alan Modra2-2/+3
2000-05-01Fix bfd_coff_small_swap_table initialisation.Alan Modra2-2/+4
2000-04-302000-04-30 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+5
* bfdint.texi (BFD generated files): Fix another typo.
2000-04-29 * xcoff.h: Forgot to cvs add in last patch.Clinton Popetz1-0/+198
2000-04-29 * libcoff.h: Sigh, whitespace differences after 'make headers'.Clinton Popetz1-2/+2
2000-04-29 * coffcode.h Copy changes mistakenly done to libcoff.h inClinton Popetz2-0/+13
4/24/2000 patch.
2000-04-29Correctly check gcc version.Alan Modra6-10/+18
2000-04-28 * Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): AddClinton Popetz6-323/+57
coffdu-rs6000.{lo,c}. (coff-pmac.lo, coff-rs6000.lo, coff64-rs6000.lo): Add dependency on xcoff.h * Makefile.in: Regenerate. * xcoff.h: New file. * coff-pmac.c: Use xcoff.h instead of coff-rs6000.c. * coff-rs6000.c: Move all declarations and defines that are common to the xcoff backends into xcoff.h * coff64-rs6000.c: Ditto,
2000-04-28 * coff-mips.c (mips_ecoff_backend_data): Add initialization ofClinton Popetz3-1/+20
_bfd_coff_force_symnames in strings and _bfd_coff_debug_string_prefix_length to their default values. * coff-sh.c: (bfd_coff_small_swap_table): Ditto.
2000-04-28 * coff-alpha.c (alpha_ecoff_backend_data): Add initialization ofClinton Popetz2-1/+7
_bfd_coff_force_symnames in strings and _bfd_coff_debug_string_prefix_length to their default values.
2000-04-27Reference count .plt and .got on x86 for garbage collection code. Fix aAlan Modra5-110/+200
couple of m68k and ppc bugs discovered while testing x86 gc.
2000-04-26 * config.bfd: Remove extraneous bfd_powerpc_64_arch.Clinton Popetz2-1/+5
2000-04-26 Add XCOFF64 support.Clinton Popetz17-139/+1087
bfd: * Makefile.am (coff64-rs6000.lo): New rule. * Makefile.in: Regenerate. * coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data, xcoff_is_local_label_name, xcoff_rtype2howto, xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p, xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap, xcoff_write_archive_contents): No longer static, and prefix with _bfd_. (NO_COFF_SYMBOLS): Define. (xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in, xcoff64_swap_aux_out): New functions; handle xcoff symbol tables internally. (MINUS_ONE): New macro. (xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS relocation. (coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in, coff_SWAP_aux_out): Map to the new functions. * coff64-rs6000.c: New file. * libcoff.h (bfd_coff_backend_data): Add new fields _bfd_coff_force_symnames_in_strings and _bfd_coff_debug_string_prefix_length. (bfd_coff_force_symnames_in_strings, bfd_coff_debug_string_prefix_length): New macros for above fields. * coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic. Set machine to 620 for XCOFF64. Use bfd_coff_swap_sym_in instead of using coff_swap_sym_in directly. (FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64. (coff_set_flags) Set magic for XCOFF64. (coff_compute_section_file_positions): Add symbol name length to string section length if bfd_coff_debug_string_prefix_length is true. (coff_write_object_contents): Don't do reloc overflow for XCOFF64. (coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of using coff_swap_lineno_in directly. (bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings and _bfd_coff_debug_string_prefix_length fields. * coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force symbol names into strings table when bfd_coff_force_symnames_in_strings is true. * coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR, SET_RELOC_VADDR): New macros. (coff_swap_reloc_in, coff_swap_reloc_out): Use above macros. (coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C code. (coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64 changes within RS6000COFF_C specific code. (coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC, MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO. * reloc.c (bfd_perform_relocation, bfd_install_relocation): Extend existing hack on target name. * xcofflink.c (XCOFF_XVECP): Extend existing hack on target name. * coff-tic54x.c (ticof): Keep up to date with new fields in bfd_coff_backend_data. * config.bfd: Add bfd_powerpc_64_arch to targ_arch and define targ_selvecs to include rs6000coff64_vec for rs6000. * configure.in: Add rs6000coff64_vec case. * cpu-powerpc.c: New bfd_arch_info_type. gas: * as.c (parse_args): Allow md_parse_option to override -a listing option. * config/obj-coff.c (add_lineno): Change type of offset parameter from "int" to "bfd_vma." * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine." (ppc_mach, ppc_subseg_align, ppc_target_format): New. (ppc_change_csect): Align correctly for XCOFF64. (ppc_machine): New function, which discards "ppc_machine" line. (ppc_tc): Cons for 8 when code is 64 bit. (md_apply_fix3): Don't check operand->insert. Handle 64 bit relocations. (md_parse_option): Handle -a64 and -a32. (ppc_xcoff64): New. * config/tc-ppc.h (TARGET_MACH): Define. (TARGET_FORMAT): Move to function. (SUB_SEGMENT_ALIGN): Use ppc_subseg_align. include: * include/coff/rs6k64.h: New file. opcodes: * configure.in: Add bfd_powerpc_64_arch. * disassemble.c (disassembler): Use print_insn_big_powerpc for 64 bit code.
2000-04-24 * config.bfd: Only disable elf32-hppa vectors, not all of theJeff Law4-244/+253
BSD and OSF configuration support. Provide (disabled) clauses for PA64 support. * configure.in: Add clause for PA64 support. * configure: Rebuilt.
2000-04-24 * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.Jeff Law2-0/+5
(bfd_elf64_hppa_vec): Declare.