aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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.
2000-04-24 * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.loJeff Law3-0/+17
(BFD64_BACKENDS_CFILES): Add elf64-hppa.c (elf64-hppa.lo): Add dependencies. * Makefile.in: Rebuilt.
2000-04-24 * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.Jeff Law4-0/+2691
2000-04-24 * libhppa.h (dis_assemble_16): New function.Jeff Law1-1/+27
(pa_arch): Added pa20w element.
2000-04-24 * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,Jeff Law3-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.
2000-04-24 * archive.c (hpux_uid_gid_encode): New function.Jeff Law2-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.
2000-04-21 * config.bfd: Add NetBSD/sparc64 support.Jeff Law2-0/+8
2000-04-21IA-64 ELF support.Jim Wilson16-0/+4657
2000-04-21 * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify sectionRichard Henderson2-35/+24
contents when performing a partial link. (bfd_elf_d30v_reloc_21): Likewise.
2000-04-20H.J's x86 fix for "nm -l" on shared libraries, applied to ppc too.Alan Modra3-2/+12
2000-04-19Properly regenerate bfd-in2.h.Timothy Wall1-3/+3
2000-04-19K&R compiler fixesAlan Modra3-4/+19
2000-04-18Bfd support for generating IA-64 EFI binaries.Jim Wilson13-55/+526
* Makefile.am (BFD64_BACKENDS): Mention coff-ia64.lo. (BFD64_BACKENDS_CFILES): Mention coff-ia64.c (coff-ia64.lo): Add dependency. * Makefile.in: Regenerate. * coff-ia64.c: New file. * efi-app-ia32.c: Ditto. * efi-app-ia64.c: Ditto. ...
2000-04-18Clean up load page support for tic54x.Timothy Wall5-12/+105
2000-04-17Fix typo.Alan Modra2-1/+5
2000-04-13Remove U suffix from constants for K&R compilers.Alan Modra7-25/+37
Fix a couple of 64 bit nits.
2000-04-11Fix auto-dependency bug.Alan Modra4-21/+24
2000-04-11Allow address wrap for bitfields again.Alan Modra2-9/+17
2000-04-11Fit 64-bit nits.Alan Modra4-7/+16
2000-04-11Mods to allow compilation of BFD all targets.Timothy Wall5-11/+22
2000-04-09Remove ``-W -Wall'' from top-level Makefile/configure.Andrew Cagney7-369/+408
Add ``-W -Wall'' to sub-directories bfd, binutils, gas gprof, ld and opcodes by the addition of WARN_CFLAGS to Makefile.am and configury to set it. Add configure option --enable-build-warnings. Re-generate all and sundry using auto*-000227.
2000-04-08Fix copyright comments and file comments.Timothy Wall2-3/+3