summaryrefslogtreecommitdiffstats
path: root/bfd/bfd-in2.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Correctly check gcc version.Alan Modra2000-04-291-1/+1
|
* IA-64 ELF support.Jim Wilson2000-04-211-0/+66
|
* Properly regenerate bfd-in2.h.Timothy Wall2000-04-191-3/+3
|
* Clean up load page support for tic54x.Timothy Wall2000-04-181-0/+7
|
* Add support for R_ARM_XPC25 and R_ARM_THM_XPC22 relocsNick Clifton2000-04-081-1/+10
|
* BFD and include/coff support for tic54x target.Timothy Wall2000-04-071-0/+25
|
* SEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).Timothy Wall2000-04-071-0/+10
|
* sh-dsp REPEAT support:Joern Rennecke2000-04-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* ATMEL AVR microcontroller support.Alan Modra2000-03-271-11/+84
|
* * reloc.c (reloc_howto_struct): Fix partial_inplace comment.Doug Evans2000-03-071-2/+15
| | | | * bfd-in2.h: Rebuild.
* Fix building with --enable-targets=allNick Clifton2000-03-011-0/+10
|
* Add IBM 370 support.Alan Modra2000-02-231-1/+5
|
* This lot mainly cleans up `comparison between signed and unsigned' gccAlan Modra2000-02-211-4/+6
| | | | | warnings. One usused var, and a macro parenthesis fix too. Also check input sections are elf when doing gc in elflink.h.
* bfd:Joern Rennecke2000-02-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reinstate bits of sh4 support that got accidentally deleted. Add sh-dsp support. bfd: * archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros. (bfd_mach_sh3_dsp): Likewise. (bfd_mach_sh4): Reinstate. (bfd_default_scan): Recognize 7410, 7708, 7729 and 7750. * bfd-in2.h: Regenerate. * coff-sh.c (struct sh_opcode): flags is no longer short. (USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros. (sh_opcode41, sh_opcode42): Integrate as sh_opcode41. (sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes. (sh_opcode41, sh_opcode4, sh_opcode80): Likewise. (sh_opcodes): No longer const. (sh_dsp_opcodef0, sh_dsp_opcodef): New arrays. (sh_insn_uses_reg): Check for USESAS and USESR8. (sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS. (_bfd_sh_align_load_span): Return early for SH4. Modify sh_opcodes lookup table for sh-dsp / sh3-dsp. Take into account that field b of a parallel processing insn could be mistaken for a separate insn. * cpu-sh.c (arch_info_struct): New array elements for sh2, sh-dsp and sh3-dsp. Reinstate element for sh4. (SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros. (SH4_NEXT): Reinstate. (SH3_NEXT, SH3E_NEXT): Adjust. * elf-bfd.h (_sh_elf_set_mach_from_flags): Declare. * elf32-sh.c (sh_elf_set_private_flags): New function. (sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise. (sh_elf_merge_private_data): New function. (elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define. (bfd_elf32_bfd_copy_private_bfd_data): Define. (bfd_elf32_bfd_merge_private_bfd_data): Change to sh_elf_merge_private_data. gas: * config/tc-sh.c ("elf/sh.h"): Include. (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables. (md.begin): Initialize target_arch. Only include opcodes in has table that match selected architecture. (parse_reg): Recognize register names for sh-dsp. (parse_at): Recognize post-modify addressing. (get_operands): The leading space is now optional. (get_specific): Remove FDREG_N support. Add support for sh-dsp arguments. Update valid_arch. (build_Mytes): Add support for SDT_REG_N. (find_cooked_opcode): New function, broken out of md_assemble. (assemble_ppi, sh_elf_final_processing): New functions. (md_assemble): Use find_cooked_opcode and assemble_ppi. (md_longopts, md_parse_option): New option: -dsp. * config/tc-sh.h (elf_tc_final_processing): Define. (sh_elf_final_processing): Declare. include/elf: * sh.h: (EF_SH_MACH_MASK, EF_SH_UNKNOWN, EF_SH1, EF_SH2): New macros. (EF_SH3, EF_SH_HAS_DSP, EF_SH_DSP, EF_SH3_DSP): Likewise. (EF_SH_HAS_FP, EF_SH3E, EF_SH4, EF_SH_MERGE_MACH): Likewise. opcodes: * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions. (print_insn_ppi): Likewise. (print_insn_shx): Use info->mach to select appropriate insn set. Add support for sh-dsp. Remove FD_REG_N support. * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support. (sh_arg_type): Likewise. Remove FD_REG_N. (sh_dsp_reg_nums): New enum. (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros. (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise. (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise. (arch_sh3_dsp_up): Likewise. (sh_opcode_info): New field: arch. (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and D_REG_N. Fill in arch field. Add sh-dsp insns.
* * section.c (_bfd_strip_section_from_output): Add info parameter.Ian Lance Taylor2000-02-131-22/+20
| | | | | | | | | | | | If it passed as non-NULL, use it to check whether any input BFD has an input section which uses this output section. Change all callers. * bfd-in2.h: Rebuild. * bfd-in.h: Move declarations of bfd_get_elf_phdr_upper_bound and bfd_get_elf_phdrs in from bfd-in2.h, correcting patch of 1999-11-29. * bfd-in2.h: Rebuild.
* Apply patch from Thomas de Lellis to allow nm to distinguish between weakNick Clifton2000-01-281-0/+3
| | | | function symbols and weak data symbols.
* Apply Tim walls octest vs bytes patchNick Clifton2000-01-131-7/+17
|
* Revert previous patch.Nick Clifton1999-12-101-8/+3
|
* Change AR for ELF so that common symbols are not included in archive map.Nick Clifton1999-12-101-3/+8
| | | | | | Change LD for ELF so that archive elements whoes archive map contains a reference to a common symbol will get linkled in. Add new field to bfd_target structure and initialise it for all bfd targets.
* * archures.c (bfd_mach_am33): Define.Jeff Law1999-12-011-0/+1
| | | | | | | | | | * bfd-in2.h: Rebuilt. * cpu-m10300.c (bfd_am33_arch): Add to the mn103 architecture list * elf-m10300.c (mn10300_elf_relax_section): Handle am33 instructions. (compute_function_info): Handle additional registers saved by movm on the am33. (elf_mn10300_mach): Handle E_MN10300_MACH_AM33. (_bfd_mn10300_elf_final_write_processing): Handle bfd_mach_am33.
* * elf.c (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): NewJim Blandy1999-11-291-0/+16
| | | | | | functions. * bfd-in2.h (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New declarations.
* Add new relocations for alpha explicit relocation supportMichael Meissner1999-11-281-0/+11
|
* D10V patches from CagneyMichael Meissner1999-10-251-0/+3
|
* * archures.c (bfd_mach_m32rx): Define it.Doug Evans1999-10-051-0/+1
| | | | * bfd-in2.h: Rebuild.
* 1999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-111-1/+6
| | | | | | | * syms.c (BSF_DEBUGGING_RELOC): Define. * coffgen.c (fixup_symbol_value): Relocate a symbol which has BSF_DEBUGGING_RELOC set. * bfd-in2.h: Rebuild.
* 1999-09-06 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-061-0/+25
| | | | | | | | * section.c (struct bfd_comdat_info): Define. (asection): Add comdat field. (STD_SECTION): Initialize comdat field. (bfd_make_section_anyway): Likewise. * bfd-in2.h: Rebuild.
* 1999-09-04 Steve Chamberlain <sac@pobox.com>Ian Lance Taylor1999-09-041-0/+9
| | | | | | | | | | | | | | | | | | | | * 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.
* * section.c (SEC_SMALL_DATA): Rename from SEC_SHORT.Ian Lance Taylor1999-08-091-1/+1
| | | | * bfd-in2.h: Rebuild.
* 1999-08-08 Mumit Khan <khan@xraylith.wisc.edu>Ian Lance Taylor1999-08-081-0/+4
| | | | | | | | | | | | | * section.c (SEC_SHARED): Define. * coffcode.h (sec_to_styp_flags): Handle SEC_SHARED. (styp_to_sec_flags): Likewise. * peicode.h (coff_swap_scnhdr_out): Likewise. * bfd-in2.h: Rebuild. 1999-08-08 Ian Lance Taylor <ian@zembu.com> * coffcode.h (coff_classify_symbol): Comment out part of 1999-08-05 change which breaks cygwin DLLs.
* rebuildIan Lance Taylor1999-07-221-4/+4
|
* Add new field to bfd_target structure.Nick Clifton1999-07-191-1/+8
| | | | | Initialise this field for all known bfd targets. Add new search function to targets.c
* * bfd-in.h: Remove tests of COFF_IMAGE_WITH_PE.Ian Lance Taylor1999-07-121-17/+8
| | | | * bfd-in2.h: Rebuild.
* * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1999-07-121-0/+3
| | | | | | | | | | | | | | | | | | | | | as appropriate. Use EMPTY_HOWTO as appropriate. Fill in structure initializations. Add casts. * reloc.c (EMPTY_HOWTO): Define. * bfd-in2.h: Rebuild. * coff-h8300.c (h8300_reloc16_extra_cases): Remove useless comparisons against 0. * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Change previous_ibfd_e_flags to unsigned long. * vms.h (struct vms_private_data_struct): Change section_count to unsigned. * vms-gsd.c (_bfd_vms_slurp_gsd): Change psect_idx to unsigned. (_bfd_vms_write_gsd): Change symnum to unsigned. * vms-hdr.c (_bfd_vms_write_hdr): Change symnum to unsigned. * vms-tir.c (etir_sta): Change psect to unsigned. (alloc_section): Change idx to unsigned. (tir_sta, tir_ctl): Change psect to unsigned. (_bfd_vms_write_tir): Change len and before to bfd_size_type. * vms.c (priv_section_count): Change to unsigned.
* * libbfd.c (bfd_put_8): Make it of type `void'.Mark Mitchell1999-07-111-1/+1
| | | | | | | * bfd-in2.h: Regenerated. * elf32-mips.c (MIPS_ELF_ADD_DYNAMIC_ENTRY): Conditionalize for 32-bit hosts. (_bfd_mips_elf_final_link): Likewise.
* * elflink.h (elf_link_create_dynamic_sections): Handle non-standardMark Mitchell1999-07-071-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | hash-entry sizes. (size_dynamic_sections): Likewise. (elf_link_output_extsym): Likewise. * elf.c: (elf_fake_sections): Likewise. * libbfd.c (bfd_get): New macro. (bfd_put): Likewise. * bfd-in2.h: Regenerated. * elf-bfd.h (elf_size_info): Add hash_entry_size, int_rels_per_ext_rel, swap_dyn_out, swap_reloc_in, swap_reloc_out, wap_reloca_in, and swap_reloca_out. * elflink.h (elf_link_read_relocs_from_section): Adjust to handle multiple internal relocations per external relocation. (link_read_relocs): Likewise. (elf_bfd_final_link): Likewise. (elf_link_input_bfd): Likewise. (elf_gc_mark): Likewise. (elf_gc_smash_unused_vtentry_relocs): Likewise. * elfcode.h (elf_swap_dyn_out): Adjust type to match elf_swap_dyn_in. (size_info): Add entries for new fields. * elf64-mips.c (mips_elf64_swap_reloc_out): Enable. (mips_elf64_be_swap_reloc_in): New function. (mips_elf64_be_swap_reloc_out): Likewise. (mips_elf64_be_swap_reloca_in): Likewise. (mips_elf64_be_swap_reloca_out): Likewise. (mips_elf64_size_info): Add entries for new fields.
* Add support for arm v5 architectures.Nick Clifton1999-07-051-2/+4
|
* Add BFD_RELOC_ARM_ADRL_IMMEDIATE.Nick Clifton1999-07-051-0/+1
|
* * section.c (SEC_SHORT): Define.Richard Henderson1999-06-151-0/+4
| | | | * bfd-in2.h: Rebuild.
* * bfd-in.h (bfd_elf32_arm_allocate_interworking_sections): CorrectIan Lance Taylor1999-06-031-2/+2
| | | | | | prototype. (bfd_elf32_arm_process_before_allocation): Likewise. * bfd-in2.h: Rebuild.
* * reloc.c (BFD_RELOC_MIPS_SUB): New relocation.Mark Mitchell1999-06-021-2/+6
| | | | | | | | | | | | | | | | | | | | | | (BFD_RELOC_MIPS_GOT_PAGE): Likewise. (BFD_RELOC_MIPS_GOT_OFST): Likewise. (BFD_RELOC_MIPS_GOT_DISP): Likewise. * bfd-in2.h: Regenerated. * libbfd.h: Likewise. * elf32-mips.c (mips_info_to_howto_rela): New function. (USE_REL): Adjust for new conventions. (MINUS_ONE): New macro. (elf_mips_howto_table): Add R_MIPS_SUB. (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST, and MIPS_GOT_DISP. (mips_elf_final_write_processing): Set sh_link, not sh_info, for a .MIPS.content section. (_bfd_mips_elf_fake_sections): Treat all sections that begin with .MIPS.content as .MIPS.content sections. Set SHF_MNIPS_NOSTRIP for such section. (elf_info_to_howto): Define to mips_info_to_howto_rela. * elf64-mips.c (mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST, and MIPS_GOT_DISP.
* Fix implementation of R_ARM_PC24 and R_ARM_THM_PC22 relocs to conform to spec.Nick Clifton1999-05-291-1/+1
|
* Add support for mcore RVA relocs.Nick Clifton1999-05-151-0/+1
|
* * bfd-in.h (bfd_arm_allocate_interworking_sections): StaticCatherine Moore1999-05-101-0/+9
| | | | | | | | | | | if COFF_IMAGE_WITH_PE. (bfd_arm_process_before_allocation): Likewise. (bfd_arm_get_bfd_for_interworking): Likewise. * coff-arm.c: Likewise. * bfd-in2.h: Regenerate. * configure.in (armpe_little_vec): Remove coff-arm.lo. (armpe_big_vec): Likewise. * configure: Rebuild.
* 19990502 sourceware importRichard Henderson1999-05-031-0/+3003
OpenPOWER on IntegriCloud