aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2000-05-28Include year 2000 in copyright messageNick Clifton2-2/+2
2000-05-28Fix capitialisation of setnaces in comment.Nick Clifton1-3/+3
2000-05-26Eli Zaretskii's DOSish file name patches.Alan Modra2-0/+57
2000-05-25Define the ALONE flag bit, for use in the opcode table.Donald Lindsay2-0/+5
2000-05-23 * ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New.Richard Henderson2-1/+11
(R_IA64_PCREL22, R_IA64_PCREL64I): New.
2000-05-23Allow d suffix on iretAlan Modra2-2/+7
2000-05-17Apply patch from Richard Gorton <gorton@scrugs.lkg.dec.com> to implementNick Clifton2-3/+9
--emit-relocs switch to the linker to preserve relocs in an output executable
2000-05-17Fix fild.Alan Modra2-3/+7
2000-05-16* cgen/opcodes fixFrank Ch. Eigler2-4/+27
* approved by nickc [opcodes/ChangeLog] 2000-05-16 Frank Ch. Eigler <fche@redhat.com> * fr30-desc.h: Partially regenerated to account for changed CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros. * m32r-desc.h: Ditto. [include/opcode/ChangeLog] 2000-05-16 Frank Ch. Eigler <fche@redhat.com> * cgen.h (CGEN_MAX_SYNTAX_BYTES): Increase to 32. Check that it exceeds CGEN_ACTUAL_MAX_SYNTAX_BYTES, if set. (CGEN_MAX_IFMT_OPERANDS): Increase to 16. Check that it exceeds CGEN_ACTUAL_MAX_IFMT_OPERANDS, if set.
2000-05-13Fix cpu_flags for sys{enter,exit} fx{save,restore}Alan Modra2-5/+9
2000-05-13`.arch cpu_type' pseudo for x86.Alan Modra2-774/+805
2000-05-08(print_insn_tic54x): Declare.Alan Modra2-0/+5
2000-05-06Support for tic54x target.Timothy Wall2-0/+171
2000-05-06bfd:Clinton Popetz2-4/+8
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Change U802TOC64MAGIC to U803XTOCMAGIC. include: * coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.
2000-05-03* ppc.h (PPC_OPCODE_ALTIVEC): New opcode flag for vector unit.J.T. Conklin2-0/+13
(PPC_OPERAND_VR): New operand flag for vector registers.
2000-05-022000-05-02 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+9
* common.h (ELFOSABI_NONE): Renamed from ELFOSABI_SYSV. (ELFOSABI_MODESTO): Defined. (ELFOSABI_OPENBSD): Likewise.
2000-05-01 * h8300.h (EOP): Add missing initializer.Jeff Law2-1/+5
2000-04-26 Add XCOFF64 support.Clinton Popetz2-0/+240
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-21 * hppa.h (pa_opcodes): New opcodes for PA2.0 wide modeJeff Law2-25/+44
forms of ld/st{b,h,w,d} and fld/fst{w,d} (16-bit displacements). New operand types l,y,&,fe,fE,fx added to support above forms. (pa_opcodes): Replaced usage of 'x' as source/target for floating point double-word loads/stores with 'fx'. Fr
2000-04-21IA-64 ELF support.Jim Wilson6-0/+573
2000-04-18Clean up load page support for tic54x.Timothy Wall3-18/+17
2000-04-17Initial patches for IA-64 EFI (64-bit PE) support.Jim Wilson4-7/+290
* pe.h (PEP64AOUTHDR): New header for PE+. (PEP64AOUTSZ): New macro. (IMAGE_SUBSYSTEM_UNKNOWN): New macro. (IMAGE_SUBSYSTEM_NATIVE): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_GUI): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_CUI): Ditto. (IMAGE_SUBSYSTEM_POSIX_CUI): Ditto. (IMAGE_SUBSYSTEM_WINDOWS_CE_GUI): Ditto. (IMAGE_SUBSYSTEM_EFI_APPLICATION): Ditto. (IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER): Ditto. (IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER): Ditto. * internal.h (PE_DEF_FILE_ALIGNMENT): Define only if not defined already. * ia64.h: New file.
2000-04-142000-04-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* common.h (ELFOSABI_TRUE64): Renamed to ELFOSABI_TRU64.
2000-04-142000-04-14 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+17
* common.h (ELFOSABI_NETBSD): Defined. (ELFOSABI_HURD): Likewise. (ELFOSABI_SOLARIS): Likewise. (ELFOSABI_MONTEREY): Likewise. (ELFOSABI_IRIX): Likewise. (ELFOSABI_FREEBSD): Likewise. (ELFOSABI_TRUE64): Likewise.
2000-04-13Remove U suffix from constants for K&R compilers.Alan Modra2-4/+9
Fix a couple of 64 bit nits.
2000-04-11Mods to allow compilation of BFD all targets.Timothy Wall2-3/+13
2000-04-08Fix copyright comments and file comments.Timothy Wall2-9/+18
2000-04-08Merge arm-oabi.h into arm.hNick Clifton3-127/+65
2000-04-07BFD and include/coff support for tic54x target.Timothy Wall4-2/+450
2000-04-06Add definitions of flags in e_flags field from version A-08 of ARM ELF spec.Nick Clifton2-0/+20
2000-04-06 * splay-tree.h (splay_tree_remove): Declare.Richard Henderson2-0/+6
2000-04-05sh-dsp REPEAT support:Joern Rennecke4-1/+14
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-1/+5
xgettext can find it. Regnerate .pot files.
2000-04-03Move bug report string to one place.Alan Modra2-0/+7
2000-04-03 * aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.Hans-Peter Nilsson2-0/+25
(RELOC_EXT_BITS_EXTERN_LITTLE): Ditto. (RELOC_EXT_BITS_TYPE_BIG): Ditto. (RELOC_EXT_BITS_TYPE_SH_BIG): Ditto. (RELOC_EXT_BITS_TYPE_LITTLE): Ditto. (RELOC_EXT_BITS_TYPE_SH_LITTLE): Ditto.
2000-03-27Fix value of SHORT_A1.Nick Clifton2-15/+21
Move SHORT_AR to end of list of short instructions.
2000-03-27ATMEL AVR microcontroller support.Alan Modra5-0/+72
2000-03-26Mostly cosmetic. Fixes to comments. Don't start as_bad and as_warnAlan Modra2-62/+80
messages with capital. Don't malign Unixware, malign SysV386 instead.
2000-03-25 * partition.h: New file.Christopher Faylor1-0/+81
2000-03-24merge from gccJason Merrill2-60/+106
2000-03-15 * internal.h: Fix a typo in the comment for R_MOVL2.Jeff Law2-1/+5
2000-03-11In bfd/:Geoffrey Keating2-0/+12
* elf32-mips.c (mips_elf_next_relocation): Rename from mips_elf_next_lo16_relocation, and generalize to look for any relocation type. (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset. (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16. (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16. (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2. (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64. (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32. (bfd_elf32_bfd_reloc_type_lookup): Add new relocs. (mips_rtype_to_howto): Likewise. (mips_elf_calculate_relocation): Handle new relocs. (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs are paired. The addend for R_MIPS_GNU_REL16_S2 is shifted right two bits. In gas/: * config/tc-mips.c (mips_ip): Don't put stuff in .rodata when embedded-pic. * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic implementation doesn't have special handling for switch statements. (macro_build): Allow for code in sections other than .text. (macro): Likewise. (mips_ip): Likewise. (md_apply_fix): Do pc-relative relocation madness for MIPS ELF. Don't perform relocs if we will be outputting them. (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when embedded-pic. In gas/testsuite/: * gas/mips/empic.d: New file. * gas/mips/empic.s: New file. * gas/mips/mips16-e.d: New file. * gas/mips/mips16-e.s: New file. * gas/mips/mips16-f.d: New file. * gas/mips/mips16-f.s: New file. * gas/mips/mips.exp: Add empic, mips16-e. Add mips16-f as an expected failure. In include/elf: * mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16, R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation numbers.
2000-03-02Apply patch for 100679Nick Clifton2-35/+56
2000-03-012000-03-01 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+10
* bfdlink.h (bfd_link_callbacks): Add a boolean arg to the undefined_symbol callback.
2000-02-28Defone {MIPS|SH}_PE_MAGICNick Clifton3-1/+7
2000-02-25Extend the i386 gas testsuite to do some tests for intel_syntax. Fix allAlan Modra2-2/+7
the errors exposed by this addition. These were intel mode "fi... word ptr", "fi... dword ptr", "jmp Imm seg, Imm offset", "out dx,al". The failure with intel "out dx,al" was also present in att "out al,dx". Extend testsuite to catch this case too.
2000-02-24Rename 'flags' to 'signed_overflow_ok_p'Nick Clifton2-9/+8
2000-02-242000-02-24 Andrew Haley <aph@cygnus.com>Andrew Haley2-1/+27
* cgen.h (CGEN_INSN_MACH_HAS_P): New macro. (CGEN_CPU_TABLE): flags: new field. Add prototypes for new functions.
2000-02-24Add support for WinCE targeted toolchains.Nick Clifton5-2/+300
2000-02-24Forgot Changelog for last i386.h change.Alan Modra1-0/+4