summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,Jeff Law2000-05-193-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.
* Force relocs emited for an executable to contain virtual addresses.Nick Clifton2000-05-182-1/+10
|
* * config.bfd (hppa*64*-*-hpux11*): New target triplet.Jeff Law2000-05-182-5/+5
|
* Add part of patch omittede from previous deltaNick Clifton2000-05-171-1/+1
|
* Apply patch from Richard Gorton <gorton@scrugs.lkg.dec.com> to implementNick Clifton2000-05-172-10/+19
| | | | --emit-relocs switch to the linker to preserve relocs in an output executable
* * som.c (som_decode_symclass): Recognize weak symbols.Catherine Moore2000-05-162-0/+6
|
* Fix problems introduced with my last change.Alan Modra2000-05-162-19/+22
|
* * elf32-sh.c (sh_elf_relax_delete_bytes): Handle R_SH_SWITCH8.Joern Rennecke2000-05-152-0/+11
|
* Support ARM ELF defaulting to big endianPhil Blundell2000-05-142-0/+8
|
* Remove the erroneous ">>>>>>> 1.419".H.J. Lu2000-05-121-1/+0
|
* (bfd_target_vector): #ifdef BFD64 rs6000coff64_vecAlan Modra2000-05-122-0/+4
|
* Restore some functionality removed by previous patch.Alan Modra2000-05-112-57/+100
| | | | Tidy printing of bfd_vma's.
* Fix some nits shown up by objcopy.Alan Modra2000-05-092-16/+40
|
* Fix coredump discovered running m68k testsuite.Alan Modra2000-05-082-1/+5
|
* * trad-core.c (trad_unix_core_file_p): ReturnAlan Modra2000-05-082-1/+4
| | | | bfd_error_wrong_format rather than bfd_error_file_truncated.
* DataDirectory virtual address is relative. Fix to suit.Alan Modra2000-05-082-102/+98
|
* * xcoff.h: Rename to xcoff-target.hClinton Popetz2000-05-067-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.
* bfd:Clinton Popetz2000-05-062-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-04 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-05-054-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.
* Fix thinko in 2000-05-02 change.Alan Modra2000-05-042-1/+5
|
* 2000-05-03 Martin v. Löwis <loewis@informatik.hu-berlin.de>H.J. Lu2000-05-043-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.
* go32 bss alignment.Alan Modra2000-05-033-0/+10
|
* 2000-05-02 H.J. Lu <hjl@gnu.org>H.J. Lu2000-05-022-1/+6
| | | | | * elf.c (prep_headers): USe ELFOSABI_NONE instead of ELFOSABI_SYSV.
* Restore elf32-hppa target vec.Alan Modra2000-05-024-8/+21
|
* Fix IA-64 --enable-targets=all bug reports.Jim Wilson2000-05-023-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.
* Assorted code cleanup and fixes for hppa. Re-enable elf32-hppa asAlan Modra2000-05-0211-1056/+1269
| | | | it now compiles even if it doesn't work too well.
* Fix "incompatible types in return" gcc error.Alan Modra2000-05-012-2/+3
|
* Fix bfd_coff_small_swap_table initialisation.Alan Modra2000-05-012-2/+4
|
* 2000-04-30 Ben Elliston <bje@redhat.com>Ben Elliston2000-04-302-1/+5
| | | | * bfdint.texi (BFD generated files): Fix another typo.
* * xcoff.h: Forgot to cvs add in last patch.Clinton Popetz2000-04-291-0/+198
|
* * libcoff.h: Sigh, whitespace differences after 'make headers'.Clinton Popetz2000-04-291-2/+2
|
* * coffcode.h Copy changes mistakenly done to libcoff.h inClinton Popetz2000-04-292-0/+13
| | | | 4/24/2000 patch.
* Correctly check gcc version.Alan Modra2000-04-296-10/+18
|
* * Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): AddClinton Popetz2000-04-286-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,
* * coff-mips.c (mips_ecoff_backend_data): Add initialization ofClinton Popetz2000-04-283-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.
* * coff-alpha.c (alpha_ecoff_backend_data): Add initialization ofClinton Popetz2000-04-282-1/+7
| | | | | _bfd_coff_force_symnames in strings and _bfd_coff_debug_string_prefix_length to their default values.
* Reference count .plt and .got on x86 for garbage collection code. Fix aAlan Modra2000-04-275-110/+200
| | | | couple of m68k and ppc bugs discovered while testing x86 gc.
* * config.bfd: Remove extraneous bfd_powerpc_64_arch.Clinton Popetz2000-04-262-1/+5
|
* Add XCOFF64 support.Clinton Popetz2000-04-2617-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.
* * config.bfd: Only disable elf32-hppa vectors, not all of theJeff Law2000-04-244-244/+253
| | | | | | | BSD and OSF configuration support. Provide (disabled) clauses for PA64 support. * configure.in: Add clause for PA64 support. * configure: Rebuilt.
* * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.Jeff Law2000-04-242-0/+5
| | | | (bfd_elf64_hppa_vec): Declare.
* * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.loJeff Law2000-04-243-0/+17
| | | | | | (BFD64_BACKENDS_CFILES): Add elf64-hppa.c (elf64-hppa.lo): Add dependencies. * Makefile.in: Rebuilt.
* * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.Jeff Law2000-04-244-0/+2691
|
* * libhppa.h (dis_assemble_16): New function.Jeff Law2000-04-241-1/+27
| | | | (pa_arch): Added pa20w element.
* * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,Jeff Law2000-04-243-8/+24
| | | | | | | | | | | bfd_elf32_slurp_reloc_table, bfd_elf64_write_relocs, and bfd_elf64_slurp_reloc_table. * elfcode.h (elf_write_relocs, elf_slurp_reloc_table): New definitions to get external names. (elf_write_relocs): Renamed from write_relocs and make global. (elf_slurp_reloc_table): Make global. (_bfd_elf,size_info): Use elf_write_relocs instead of write_relocs.
* * archive.c (hpux_uid_gid_encode): New function.Jeff Law2000-04-242-5/+64
| | | | | | | (bfd_ar_hdr_from_filesystem): Use it if HPUX_LARGE_AR_IDS is defined and the ID is greater than 99999. (bfd_generic_stat_arch_elt): If HPUX_LARGE_AR_IDS is defined decode special uid/gid fields into 32 bit values.
* * config.bfd: Add NetBSD/sparc64 support.Jeff Law2000-04-212-0/+8
|
* IA-64 ELF support.Jim Wilson2000-04-2116-0/+4657
|
* * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify sectionRichard Henderson2000-04-212-35/+24
| | | | | contents when performing a partial link. (bfd_elf_d30v_reloc_21): Likewise.
* H.J's x86 fix for "nm -l" on shared libraries, applied to ppc too.Alan Modra2000-04-203-2/+12
|