aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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
2000-04-08Fix dependency for elfarm-oabi.cNick Clifton3-2/+24
2000-04-08Add support for R_ARM_XPC25 and R_ARM_THM_XPC22 relocsNick Clifton6-51/+118
2000-04-072000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-12/+27
* elfcore.h (elf_core_file_p): preserve value of tdata at entry, and restore it on failure. Release newly allocated tdata on failure.
2000-04-07Fix linker segfault that occured when linking ia64-linux kernel.Jim Wilson2-4/+23
* dwarf2.c (struct dwarf2_debug): New field dwarf_line_size. (decode_line_info): Set it. Report error if unit->line_offset is equal to or larger than it.
2000-04-07BFD and include/coff support for tic54x target.Timothy Wall14-7/+932
2000-04-072000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-0/+13
* elfcore.h (elf_core_file_p): call backend_object_p which thereby gets an opportunity to update the arch/machine type.
2000-04-07SEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).Timothy Wall5-3/+57
2000-04-06Update copyright noticeNick Clifton1-2/+5
2000-04-06Only check EF_xxx flags if the EABI version number is unknown.Nick Clifton2-30/+103
2000-04-05sh-dsp REPEAT support:Joern Rennecke5-21/+202
opcodes: * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4. Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. (sh_arg_type): Add A_PC. (sh_table): Update entries using immediates. Add repeat. * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4. Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. gas: * config/tc-sh.c (immediate): Delete. (sh_operand_info): Add immediate member. (parse_reg): Use A_PC for pc. (parse_exp): Add second argument 'op'. All callers changed. (parse_at): Expect pc to be coded as A_PC. Use immediate field in *op. (insert): Add fourth argument 'op'. All callers changed. (build_relax): Add second argument 'op'. All callers changed. (insert_loop_bounds): New function. (build_Mytes): Remove DISP_4. Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. (assemble_ppi): Use immediate field in *operand. (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}. (md_apply_fix): Likewise. (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL. include/coff: * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define. include/elf: * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs. bfd: * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and BFD_RELOC_SH_LOOP_END. * elf32-sh.c (sh_elf_howto_tab): Change special_func to sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore. Add entries for R_SH_LOOP_START and R_SH_LOOP_END. (sh_elf_reloc_loop): New function. (sh_elf_reloc): No need to test for always-to-be-ignored relocs any more. (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}. (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}. * bfd-in2.h, libbfd.h: Regenerate.
2000-04-04Move translated part of bug report string back into .c files soAlan Modra2-130/+165
xgettext can find it. Regnerate .pot files.
2000-04-04Use "gcc -MM" for dependencies, and update them.Alan Modra4-174/+196
2000-04-03AIX 4.3 changesKevin Buettner3-523/+446
2000-04-032000-04-03 H.J. Lu <hjl@gnu.org>Ian Lance Taylor2-4/+24
* cache.c (bfd_open_file): Unlink the output file only if it has none zero size.