aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
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
2000-04-07BFD and include/coff support for tic54x target.Timothy Wall1-0/+7
2000-04-04Use "gcc -MM" for dependencies, and update them.Alan Modra1-28/+21
2000-03-27ATMEL AVR microcontroller support.Alan Modra1-0/+8
2000-02-28Add WinCE support.Nick Clifton1-0/+20
2000-02-272000-02-27 Eli Zaretskii <eliz@is.elta.co.il>Ian Lance Taylor1-2/+3
* Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the name of the libtool directory. * Makefile.in: Rebuild.
2000-02-23Add IBM 370 support.Alan Modra1-0/+7
2000-02-21 ELF HPPA doesn't work at present; remove it until it does.Ian Lance Taylor1-8/+2
* config.bfd: Comment out setting targ_defvec to bfd_elf32_hppa_vec. * Makefile.am: Rebuild dependencies. (BFD32_BACKENDS): Remove elf32-hppa.lo. (BFD32_BACKENDS_CFILES): Remove elf32-hppa.c. (SOURCE_HFILES): Remove elf32-hppa.h and hppa_stubs.h. * Makefile.in: Rebuild. * targets.c (bfd_target_vector): Comment out bfd_elf32_hppa_vec.
1999-09-111999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1-12/+17
* libpei.h: New file, broken out of peicode.h. * peigen.c: New file, broken out of peicode.h. * peicode.h: A bunch of code moved out to libpei.h and peigen.c. * configure.in: Add peigen.lo to list of files required for each PE target. * Makefile.am: Rebuild dependencies. (BFD32_BACKENDS): Add peigen.lo. (BFD32_BACKENDS_CFILES): Add peigen.c. (SOURCE_HFILES): Add libpei.h. * configure, Makefile.in: Rebuild.
1999-09-041999-09-04 Steve Chamberlain <sac@pobox.com>Ian Lance Taylor1-0/+8
* cpu-pj.c: New file. * elf32-pj.c: New file. * config.bfd (pj*): New cpu. (pj-*-*, pjl-*-*): New targets. * configure.in (bfd_elf32_pj_vec): New target vector. (bfd_elf32_pjl_vec): New target vector. * archures.c (bfd_arch_pj): Define. * elf.c (prep_headers): Handle bfd_arch_pj. * reloc.c: Define BFD_RELOC_PJ_* relocations. * targets.c (bfd_elf32_pj_vec, bfd_elf32_pjl_vec): Declare and add to target vector list. * Makefile.am: Rebuild dependencies. (ALL_MACHINES): Add cpu-pj.lo. (ALL_MACHINES_CFILES): Add cpu-pj.c. (BFD32_BACKENDS): Add elf32-pj.lo. (BFD32_BACKENDS_CFILES): Add elf32-pj.c. * configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild.
1999-08-24Path from Roland McGrath <roland@baalperazim.frob.com>Nick Clifton1-0/+5
Added arm-netbsd target.
1999-08-08 * Makefile.am: Rename .dep* files to DEP*. Change DEP variable toIan Lance Taylor1-21/+21
MKDEP. * Makefile.in: Rebuild.