aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2001-08-26For include/opcode:Andreas Jaeger4-40/+54
* d30v.h: Fix declaration of reg_name_cnt. * d10v.h: Fix declaration of d10v_reg_name_cnt. * arc.h: Add prototypes from opcodes/arc-opc.c. For opcodes: * tic54x-dis.c: Add unused attributes where needed. * z8k-dis.c (output_instr): Add unused attribute. * h8300-dis.c: Add missing prototypes. (bfd_h8_disassemble): Make static. * cris-dis.c: Add missing prototype. * h8500-dis.c: Likewise. * m68hc11-dis.c: Likewise. * pj-dis.c: Likewise. * tic54x-dis.c: Likewise. * v850-dis.c: Likewise. * vax-dis.c: Likewise. * w65-dis.c: Likewise. * z8k-dis.c: Likewise. * d10v-dis.c: Add missing prototype. (dis_long): Remove unused variable. (dis_2_short): Likewise. * sh-dis.c: Add missing prototypes. * v850-opc.c: Likewise. Add unused attributes where needed. * ns32k-dis.c: Add missing prototypes. (bit_extract_simple): Remove unused variable.
2001-08-25fix compile time warning messageNick Clifton2-1/+6
2001-08-24Apply H.J.'s patch to revert change to elfxx-target.hNick Clifton2-0/+19
Apply my patch to allow SREC as output format.
2001-08-24 * internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix.Joern Rennecke2-3/+7
2001-08-23 * elf-bfd.h (enum elf_reloc_type_class): New.Jakub Jelinek2-1/+13
(struct elf_backend_data): Add elf_backend_reloc_type_class. (_bfd_elf_reloc_type_class): New. * elfxx-target.h (elf_backend_reloc_type_class): Define. (elfNN_bed): Add elf_backend_reloc_type_class. * elf.c (_bfd_elf_reloc_type_class): New. * elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf_i386_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf32_sparc_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (sparc64_elf_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field. (elfNN_ia64_hash_table_create): Clear ia64_info. (get_reloc_section): Set DF_TEXTREL if the reloc is against read-only section. (elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag instead of looking up section names for DT_TEXTREL. (elfNN_ia64_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elflink.h (size_dynamic_sections): Add spare DT_NULL tags. (struct elf_link_sort_rela): New. (elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New. (elf_bfd_final_link): Call elf_link_sort_relocs. Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if necessary. * bfdlink.h (struct bfd_link_info): Add combreloc and spare_dynamic_tags fields. * emultempl/elf32.em (place_orphan): Place orphan .rel* sections into .rel.dyn resp. .rela.dyn if combreloc. (get_script): If .x linker script is equal to .xn, only put it once into the binary. Add .xc and .xsc scripts. (parse_args): Handle -z combreloc and -z nocombreloc. * scripttempl/elf.sc (.rela.sbss): Fix a typo. For .xc and .xsc scripts put all .rel* or .rela* input sections but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME is elf. Strip trailing whitespace from script. Generate .xc and .xsc scripts if requested. * ldmain.c (main): Initialize link_info.combreloc and link_info.spare_dynamic_tags. * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. (ld_options): Add --spare-dynamic-tags option. (parse_args): Likewise. * ld.texinfo: Document -z combreloc and -z nocombreloc. * ldint.texinfo: Document .xc and .xsc linker scripts. * NEWS: Add notes about -z combreloc and SHF_MERGE.
2001-08-23merge from gccDJ Delorie6-20/+25
2001-08-22merge from gccDJ Delorie2-13/+19
2001-08-21merge from gccDJ Delorie2-0/+84
2001-08-21* floatformat.h (floatformat_arm_ext): Document as deprecated.Andrew Cagney2-1/+17
(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) (floatformat_ia64_spill_little, floatformat_ia64_quad_little) (floatformat_ia64_spill_big, floatformat_ia64_quad_big) (floatformat_m88110_harris_ext): Declare.
2001-08-18merge from gccDJ Delorie2-137/+186
2001-08-17merge from gccDJ Delorie2-0/+7
2001-08-16Add support for MIPS R1[02]000 performance counter opcodes.Thiemo Seufer2-1/+10
2001-08-10(lbasename): Change function declaration to return a const char pointer.Andrew Cagney2-1/+6
2001-08-10 * opcode/mips.h (INSN_GP32): Remove.Richard Sandiford2-11/+11
(OPCODE_IS_MEMBER): Remove gp32 parameter. (M_MOVE): New macro identifier.
2001-08-10Revert 2001-08-08 changes.Alan Modra2-1/+4
2001-08-08 * ppc.h (struct powerpc_operand): New field `reloc'.Alan Modra2-0/+6
* ppc-opc.c: Include "bfd.h". (powerpc_operands): Add new field for reloc type.
2001-08-02merge from gccDJ Delorie2-0/+10
2001-08-02 * bfdlink.h (struct bfd_link_info): add new booleanCharles Wilson2-0/+9
field pei386_auto_import.
2001-08-012001-08-01 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2-1/+5
* include/opcode/mips.h (INSN_ISA_MASK): Nuke bits 12-15.
2001-07-19merge from gccDJ Delorie2-9/+12
2001-07-122001-07-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+15
* opcode/cgen.h (CGEN_INSN): Add regex support. (build_insn_regex): Declare.
2001-07-12* some support for funny-endian 16/32-bit insn setsFrank Ch. Eigler2-0/+11
[cgen/ChangeLog] 2001-07-11 Frank Ch. Eigler <fche@redhat.com> * desc-cpu.scm (-gen-mach-table-defns): Emit fourth field: the mach->cpu insn-chunk-bitsize. (-gen-cpu-open): In @arch@_cgen_rebuild_tables, process above new field toward CGEN_CPU_TABLE->insn_chunk_bitsize. * mach.scm (<cpu>): New field insn-chunk-bitsize. (-cpu-parse, -cpu-read): Parse/initialize it. * doc/rtl.texi (define-cpu): Document it. [opcodes/ChangeLog] 2001-07-11 Frank Ch. Eigler <fche@redhat.com> * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of bfd_get_bits. * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect non-zero CGEN_CPU_DESC->insn_chunk_bitsize. [include/opcode/ChangeLog] 2001-07-11 Frank Ch. Eigler <fche@redhat.com> * cgen.h (CGEN_MACH): Add insn_chunk_bitsize field. (cgen_cpu_desc): Ditto.
2001-07-11merge from gccDJ Delorie3-0/+595
2001-07-062001-07-07 Ben Elliston <bje@redhat.com>Ben Elliston2-313/+331
* m88k.h: Clean up and reformat. Remove unused code.
2001-06-30Remerge with gccNick Clifton2-5/+25
2001-06-29Add DWARF 2.1 attributesNick Clifton2-36/+56
2001-06-15 * dwarf2.h: Partial merge with gcc version.Per Bothner2-7/+54
(enum dwarf_descrim_list): Fix typo -> dwarf_discrim_list. (DW_LANG_Java): Use value from dwarf 2.1 draft (also used in gcc).
2001-06-15 * bfdlink.h (struct bfd_link_info): New member export_dynamic.Hans-Peter Nilsson2-0/+7
2001-06-14Index: opcodes/ChangeLogGeoffrey Keating2-0/+9
2001-06-13 Geoffrey Keating <geoffk@redhat.com> * cgen-asm.c (cgen_parse_keyword): When looking for the boundaries of a keyword, allow any special characters that are actually in one of the allowed keyword. * cgen-opc.c (cgen_keyword_add): Add any special characters to the nonalpha_chars field. Index: cgen/ChangeLog 2001-06-13 Geoffrey Keating <geoffk@redhat.com> * desc.scm (<keyword> 'gen-defn): Add extra zero into CGEN_KEYWORD_ENTRY initializers. Index: include/opcode/ChangeLog 2001-06-13 Geoffrey Keating <geoffk@redhat.com> * cgen.h (cgen_keyword): Add nonalpha_chars field.
2001-05-28Fix some entries.Alan Modra3-4/+9
2001-05-24Support for xcoff64Tom Rix5-224/+986
2001-05-23Add MIPS r12k supportNick Clifton2-0/+5
2001-05-232001-05-23 John Healy <jhealy@redhat.com>John Healy2-1/+5
* cgen.h: Increased CGEN_MAX_SYNTAX_ELEMENTS to 48.
2001-05-16merge from gccDJ Delorie2-2/+6
2001-05-15Remove definition of EM_MIPS_RS4_BE. The constant was never in active useNick Clifton2-1/+5
and is used otherwise by the ABI.
2001-05-15Fix MIPS disassembler so that it produces reassemblable code.Nick Clifton2-0/+5
2001-05-12Correct cvtps2dq, movdq2q, movq2dq, and movq problems.Alan Modra2-3/+9
2001-05-11merge from gccDJ Delorie2-10/+4
2001-05-11 * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwindJakub Jelinek2-0/+7
sections as well. (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO to .gnu.linkonce.t.FOO text section. * readelf.c (process_unwind): Print all unwind sections, not just one. * config/tc-ia64.c (special_linkonce_name): New. (make_unw_section): Map .gnu.linkonce.t.FOO text section into .gnu.linkonce.ia64unw{,i}.FOO. (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO. (dot_endp): Add comment about it. * elf/ia64.h (ELF_STRING_ia64_unwind_once): Define. (ELF_STRING_ia64_unwind_info_once): Define. * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* output sections. * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-08merge from gccDJ Delorie3-5/+14
2001-05-07merge from gccDJ Delorie2-0/+9
2001-05-07 * external.h: Fix typo.Alan Modra3-38/+112
* mips.h: Add/Extend many comments with reference to the MIPS ELF64 spec v. 2.4, available at e.g. ftp://oss.sgi.com/pub/linux/mips/doc/ABI/ELF64.ps. (EF_MIPS_UCODE): Define. (EF_MIPS_OPTIONS_FIRST): Define. (EF_MIPS_ARCH_ASE): Define. (EF_MIPS_ARCH_ASE_MDMX): Define. (EF_MIPS_ARCH_ASE_M16): Define. (SHF_MIPS_ADDR): Renamed SHF_MIPS_ADDR32. (SHF_MIPS_STRING): Renamed SHF_MIPS_ADDR64. (SHF_MIPS_NODUPES): Define. (ELF64_MIPS_R_SSYM): New MIPS ELF 64 relocation info access macro. (ELF64_MIPS_R_TYPE3): Likewise. (ELF64_MIPS_R_TYPE2): Likewise. (ELF64_MIPS_R_TYPE): Likewise. (OHW_R10KLDL): Define.
2001-05-04Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.Alan Modra2-4/+9
2001-04-27Add openRISC support in opcodesNick Clifton2-0/+5
2001-04-24* sparc.h: Fix typo.DJ Delorie2-1/+5
2001-04-24Add OpenRISC supportNick Clifton3-0/+48
2001-04-232001-04-23 Bo Thorsen <bo@suse.de>Andreas Jaeger2-4/+10
* x86-64.h: Add vtable support. 2001-04-23 Bo Thorsen <bo@suse.de> * elf64-x86-64.c: Add c++ vtable hack. Small whitespace and comment changes.
2001-04-162001-04-15 Daniel Berlin <dan@cgsoftware.com>Daniel Berlin2-0/+54
* ternary.c: New file - Ternary search tree implementation. 2001-04-15 Daniel Berlin <dan@cgsoftware.com> * ternary.h: New file - Ternary search tree header.
2001-04-13bfd/Jakub Jelinek2-0/+6
* 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-04-05 * cris.h (enum cris_insn_version_usage): Correct comment forHans-Peter Nilsson2-2/+7
cris_ver_v3p.