aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2001-10-30Add MMIX supportNick Clifton1-0/+13
2001-10-04 * Makefile.am (BFD_H_DEPS): Add symcat.h. Ensure everythingAlan Modra1-596/+532
depends on $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS), not just those backends we configure. Run "make dep-am". (install-data-local): Install symcat.h. * dep-in.sed: Remove symcat.h from dependencies. * Makefile.in: Regenerate.
2001-10-03bfd/ChangeLogAlan Modra1-2/+2
* configure.in (AC_OUTPUT <bfd-in3.h>): Remove version.h. * configure: Regenerate. * Makefile.am (BFD_H_FILES): Add version.h. * Makefile.in: Regenerate. * po/SRC-POTFILES.in: Regenerate. bfd/doc/ChangeLog * Makefile.am (BFD_H_DEP): Add ../version.h. * Makefile.in: Regenerate.
2001-10-02 * version.h: New file.Alan Modra1-525/+592
* bfd-in.h: (BFD_VERSION): Substitute bfd_version. (BFD_VERSION_DATE): Define. (BFD_VERSION_STRING): Define. * configure.in: AC_SUBST bfd_version, bfd_version_date and bfd_version_string. (AC_OUTPUT <bfd-in3.h>): Depend on version.h. * bfd-in2.h: Regenerate. * configure: Regenerate. * Makefile.am: Run "make dep-am" * Makefile.in: Regenerate. * bfd-in.h: Include "symcat.h". (CONCAT4): Redefine as for old CAT4. * aout-arm.c: Use equivalent CONCAT* macro in place of CAT* macros. Add warning regarding whitespace. * aout-cris.c: Likewise. * aout-ns32k.c: Likewise. * aout-sparcle.c: Likewise. * aout-tic30.c: Likewise. * aout0.c: Likewise. * armnetbsd.c: Likewise. * demo64.c: Likewise. * elf-bfd.h: Likewise. * gen-aout.c: Likewise. * host-aout.c: Likewise. * hp300bsd.c: Likewise. * hp300hpux.c: Likewise. * i386aout.c: Likewise. * i386bsd.c: Likewise. * i386dynix.c: Likewise. * i386freebsd.c: Likewise. * i386linux.c: Likewise. * i386lynx.c: Likewise. * i386mach3.c: Likewise. * i386netbsd.c: Likewise. * libaout.h: Likewise. * m68k4knetbsd.c: Likewise. * m68klinux.c: Likewise. * m68klynx.c: Likewise. * m68knetbsd.c: Likewise. * m88kmach3.c: Likewise. * mipsbsd.c: Likewise. * newsos3.c: Likewise. * ns32knetbsd.c: Likewise. * pc532-mach.c: Likewise. * pdp11.c: Likewise. * riscix.c: Likewise. * sparclinux.c: Likewise. * sparclynx.c: Likewise. * sparcnetbsd.c: Likewise. * sunos.c: Likewise. * targets.c: Likewise. * vaxnetbsd.c: Likewise. * vms-hdr.c: Likewise.
2001-09-21 * Makefile.am: Run "make dep-am".Alan Modra1-45/+52
* Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * aoutx.h: Formatting fixes. * merge.c (_bfd_merged_section_offset): Break line at 80 chars. * linker.c: Replace bfd_get_filename with bfd_archive_filename in error message.
2001-08-302001-08-30 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+2
* Makefile.am (BFD32_BACKENDS): Add elf32-h8300.lo. (BFD32_BACKENDS_CFILES): Add elf32-h8300.c. * Makefile.in: Rebuild.
2001-08-29 * Makefile.am (elf32-h8300.lo): New target.Joern Rennecke1-0/+4
* config.bfd (h8300*-*-elf): New case. * configure.in (bfd_elf32_h8300_vec): New case. * elf.c (prep_headers): Add case for bfd_arch_h8300. * reloc.c (BFD_RELOC_H8_DIR16A8): New relocation. (BFD_RELOC_H8_DIR16R8, BFD_RELOC_H8_DIR24A8): Likewise. (BFD_RELOC_H8_DIR24R8, BFD_RELOC_H8_DIR32A16): Likewise. * targets.c (bfd_target bfd_elf32_h8300_vec): New extern declaration. * elf32-h8300.c: New file. * Makefile.in, bfd-in2.h, libbfd.h, configure: Regenerated.
2001-08-27 * config.bfd: Add powerpc64 target. Add powerpc64 vectors toAlan Modra1-9/+16
targ64_selvecs for 32 bit powerpc targets. * Makefile.am (BFD64_BACKENDS): Add elf64-ppc.lo. (BFD64_BACKENDS_CFILES): Add elf64-ppc.c. Run "make dep-am". * Makefile.in: Regenerate. * configure.in: Add elf64_powerpc vecs. * configure: Regenerate. * cpu-powerpc.c: Default to bfd_mach_ppc_620 entry for 64 bit. * elf.c (prep_headers): EM_PPC64 for 64 bit ppc elf target. * targets.c: Add bfd_elf64_powerpc_vec and bfd_elf64_powerpcle_vec. * elf64-ppc.c: New file. * reloc.c: Add powerpc64 relocs. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate.
2001-07-24Update dependencies with "make dep-am".Alan Modra1-121/+128
2001-07-152001-07-15 H.J. Lu <hjl@gnu.org>H.J. Lu1-4/+4
* Makefile.am (po/SRC-POTFILES.in): Use tmp.src instead of tmp. (po/BLD-POTFILES.in): Use tmp.bld instead of tmp. * Makefile.in: Regenerate.
2001-06-10 * elflink.h: Whitespace changes.Alan Modra1-1/+2
(elf_link_read_relocs_from_section): Use "unsigned int" iterator rather than "unsigned char". (elf_link_output_relocs): Likewise. (elf_link_input_bfd): Likewise. (elf_reloc_link_order): LIkewise. * elf.c: s/CONST/const/. Whitespace changes. * elf32-mips.c: Formatting fix. * Makefile.am (SOURCE_HFILES): Include xcoff-target.h, remove xcoff.h. * Makefile.in: Regenerate. * po/Make-in: Remove trailing tab.
2001-05-252001-05-25 H.J. Lu <hjl@gnu.org>H.J. Lu1-5/+0
* Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo. (BFD32_BACKENDS_CFILES): Remove coff-pmac.c. (coff-rs6000.lo): Remove the old dependency. * Makefile.in: Rebuild. * configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with coff-rs6000.lo.
2001-05-24Support for xcoff64Tom Rix1-4/+7
2001-04-24Add OpenRISC supportNick Clifton1-0/+9
2001-04-13bfd/Jakub Jelinek1-2/+3
* libbfd-in.h (_bfd_merge_section): New. (_bfd_write_merged_section): New. (_bfd_merged_section_offset): New. * libbfd.h: Rebuilt. * linker.c (_bfd_generic_link_output_symbols): Handle discard_sec_merge. * aoutx.h (aout_link_write_symbols): Likewise. * pdp11.c (aout_link_write_symbols): Likewise. * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section. (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE sections. (elf_link_sec_merge_syms): New. (elf_link_input_bfd): Call _bfd_merged_section_offset and _bfd_write_merged_section. Handle discard_sec_merge. * elf-bfd.h (struct elf_link_hash_table): Add merge_info field. (struct bfd_elf_section_data): Likewise. * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and SEC_STRINGS section flags and entsize from their ELF counterparts. (_bfd_elf_link_hash_table_init): Initialize merge_info. (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize from their BFD counterparts. * merge.c: New file. * Makefile.am: Add strtab.lo. * Makefile.in: Rebuilt. include/ * bfdlink.h (bfd_link_discard): Add discard_sec_merge. gas/ * config/obj-elf.c (obj_elf_change_section): Add entsize argument, handle SHF_MERGE and SHF_STRINGS. (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS. (obj_elf_section): Allow additional argument specifying entity size. * write.c (adjust_reloc_syms): Keep relocations against local symbols in SEC_MERGE sections. ld/ * ldmain.c (main): Default to discard_sec_merge. * lexsup.c (OPTION_DISCARD_NONE): Define. (ld_options): Add --discard-none. (parse_args): Handle OPTION_DISCARD_NONE. * ldlang.c (wild_doit): SEC_MERGE should be set in the output section only if SEC_MERGE and SEC_STRINGS flags and entsize of all its input sections match.
2001-03-23Fix building bfd.pot in maintainer modeNick Clifton1-11/+30
2001-03-08Update copyright noticesNick Clifton1-1/+1
2001-02-27Bump version to 2.11.90, fix missing dependencies in bfd/,Alan Modra1-35/+38
and run "make dep-am".
2001-02-18Add PDP-11 supportNick Clifton1-0/+8
2001-02-14Apply changes to Makefile.in to Makefile.amNick Clifton1-2/+15
2001-02-11 * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.Michael Sokolov1-0/+1
* Makefile.in: Regenerate.
2001-02-10Add s390 supportNick Clifton1-0/+17
2001-02-07Remove elf64-ia64.c from list of backend C files - it is auto-generated.Nick Clifton1-1/+0
2001-01-222001-01-21 Maciej W. Rozycki <macro@ds2.pg.gda.pl>Andreas Jaeger1-4/+5
* Makefile.am (install-data-local): Make use of $(DESTDIR). * Makefile.in: Regenerate.
2000-12-08Generalize DWARF2 and COFF support.Nick Clifton1-4/+4
2000-11-30Add support for x86_64-*-linux-gnu* targetNick Clifton1-0/+6
2000-11-07ia64-hpux patches from Steve Ellcey.Jim Wilson1-0/+15
* archures.c: (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32) Add defines to differentiate elf32 and elf64 on ia64. * bfd-in2.h: Regenerate. * config.bfd: Add target for "ia64*-*-hpux*". * configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch. * configure: Regenerate. * cpu-ia64.c (bfd_ia64_elf32_arch) Add elf32 arch info structure. * targets.c: Add bfd_target bfd_elf32_ia64_big_vec. * Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects from elfxx-ia64.c. Add depenency rules for making elf32-ia64.lo. * Makefile.in: Regnerate. * elf64-ia64.c: Deleted * elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.
2000-09-28* som.c: Include alloca-conf.hAlan Modra1-7/+7
2000-09-07* config.bfd (sh-*-linux*): Added.Alexandre Oliva1-0/+7
* configure.in (bfd_elf32_shlin_vec, bfd_elf32_shblin_vec): New. * targets.c: Declare them. * elf32-sh-lin.c: New file. * Makefile.am: Compile it. * elf32-sh.c: Don't override defines from elf32-sh-lin.c. * configure, Makefile.in: Rebuilt.
2000-07-20 * Makefile.am (ALL_MACHINES): Add cpu-cris.lo.Hans-Peter Nilsson1-0/+15
(ALL_MACHINES_CFILES): Add cpu-cris.c. (BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo. (BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c. (cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules. * Makefile.in: Rebuild. * aclocal.m4: Rebuild. * aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris. * archures.c (enum bfd_architecture): Add bfd_arch_cris. (bfd_cris_arch): Declare. (bfd_archures_list): Add bfd_cris_arch. * bfd-in2.h: Rebuild. * config.bfd: (cris-*-*): New target. * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors. * configure: Rebuild. * elf.c (prep_headers): Add bfd_arch_cris. * libbfd.h: Rebuild. * libaout.h (enum machine_type): Add M_CRIS. * reloc.c: Add CRIS relocations. * targets.c (bfd_target bfd_elf32_cris_vec, cris_aout_vec): Declare. (bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec. * cpu-cris.c, aout-cris.c, elf32-cris.c: New files. * po/POTFILES.in, po/bfd.pot: Regenerate.
2000-07-09Restore hppa-elf32 to working order.Alan Modra1-2/+2
2000-07-01Fix 2000-06-22. grep after running dep.sedAlan Modra1-4/+5
2000-06-22Ensure /usr/include and the like stay out of dependencies.Alan Modra1-2/+6
2000-06-202000-06-20 H.J. Lu <hjl@gnu.org>H.J. Lu1-5/+9
* Makefile.am: Rebuild dependency. * Makefile.in: Rebuild.
2000-06-19Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add supportNick Clifton1-0/+14
for m68hc11 and m68hc12 processors.
2000-06-07Get rid of the -1 dummy valued enum in START_RELOC_NUMBERS.Alan Modra1-2/+4
Remove duplicate reloc enums in elf32-d[13]0v.c Remove EMPTY_HOWTOs in elf32-i386.c
2000-05-26Update dependencies.Alan Modra1-413/+478
2000-05-06 * xcoff.h: Rename to xcoff-target.hClinton Popetz1-4/+4
* 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-02Restore elf32-hppa target vec.Alan Modra1-3/+7
2000-05-02Fix IA-64 --enable-targets=all bug reports.Jim Wilson1-2/+4
* 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 Modra1-32/+30
it now compiles even if it doesn't work too well.
2000-04-28 * Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): AddClinton Popetz1-3/+6
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-26 Add XCOFF64 support.Clinton Popetz1-0/+3
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 * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.loJeff Law1-0/+6
(BFD64_BACKENDS_CFILES): Add elf64-hppa.c (elf64-hppa.lo): Add dependencies. * Makefile.in: Rebuilt.
2000-04-21IA-64 ELF support.Jim Wilson1-0/+9
2000-04-18Bfd support for generating IA-64 EFI binaries.Jim Wilson1-0/+4
* 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-11Fix auto-dependency bug.Alan Modra1-10/+9
2000-04-11Mods to allow compilation of BFD all targets.Timothy Wall1-2/+3
2000-04-09Remove ``-W -Wall'' from top-level Makefile/configure.Andrew Cagney1-0/+3
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 dependency for elfarm-oabi.cNick Clifton1-1/+1