bfd/ChangeLog: 2007-01-15 Dave Brolley * Contribute the following changes: 2006-12-19 Dave Brolley * elf32-mep.c: Fix problems with DEBUG printfs. * elflink.h (elf_link_input_bfd): Always setup finfo->internal_syms. 2006-10-17 Nick Clifton * elf32-mep.c (mep_elf_print_private_bfd_data): Remove redundant check against 0. 2006-09-25 Dave Brolley * elf32-mep.c (mep_elf_print_private_bfd_data): Check that (long)partial_flags is non-negative before using it as an array index. 2004-06-24 Dave Brolley * elf32-mep.c: Regenerated by MeP-Integrator. 2005-04-22 Richard Sandiford * elf32-mep.c (mep_elf_merge_private_bfd_data): Allow two objects to be linked together if one of them uses the EF_MEP_LIBRARY flag. Give priority to flag sets in which EF_MEP_LIBRARY is not set. 2005-04-05 Richard Sandiford * elf32-mep.c (config_names): Reduce divergence from MeP-Integrator output. 2004-08-03 Richard Sandiford * elf32-mep.c (mep_final_link_relocate): Fix overflow check for R_MEP_PCABS24A2. 2004-06-24 Dave Brolley * archures.c (bfd_mach_mep_h1): #define as 0x6831. * bfd-in2.h: Regenerated. 2004-06-21 Dave Brolley * elf32-mep.c (mep_elf_copy_private_bfd_data): Remove assertion about flags being identical. (mep_elf_merge_private_bfd_data): Handle existence of multiple CGEN MACHs. (mep_elf_print_private_bfd_data): Ditto. (config_names): Give the machine at index 0 the name "basic". (core_names): New table. (elf32_mep_machine): New function. (mep_elf_object_p): Call bfd_default_set_arch_mach. * cpu-mep.c (bfd_h1_arch): Define it and link it into the chain. * archures.c (bfd_mach_mep_h1): Define it. * bfd-in2.h: Regenerated. 2003-07-19 Nick Clifton * elf32-mep.c: Convert to ISO C. 2002-04-09 DJ Delorie * elf32-mep.c (mep_final_link_relocate): Allow impossible relocations to undefined weak functions. 2002-02-08 Frank Ch. Eigler * cpu-mep.c (mep_compatible): Remove: only one bfd_mach used now. * elf32-mep.c (elf32_mep_machine): Ditto. 2001-12-12 Ben Elliston * elf32-mep.c (mep_final_link_relocate): Do not adjust the pc prior to applying a pc-relative relocation. 2001-10-02 Nick Clifton * elf32-mep.c: Add missing prototypes. 2001-10-01 Frank Ch. Eigler * elf32-mep.c (mep_elf_merge_private_bfd_data): Enforce endianness compatibility. 2001-09-28 Richard Henderson * elf32-mep.c (mep_elf_section_flags): New. (mep_elf_fake_sections): New. (elf_backend_section_flags): New. (elf_backend_fake_sections): New. 2001-09-27 Nick Clifton * elf32-mep.c: Add missing function prototypes. Fix compile time warnings. Improve formatting. * mep_relocs.pl: Improve formatting in generated code. 2001-09-21 Nick Clifton * cpu-mep.c: Add missing function prototype. 2001-07-25 DJ Delorie * elf32-mep.c (mep_final_link_relocate): Adjust calculation of PC to be endian-sensitive. 2001-07-17 Richard Henderson * elf32-mep.c (mep_final_link_relocate) [R_MEP_HI16S]: Correctly compensate for high bit set in R_MEP_LOW16. 2001-07-12 DJ Delorie * elf32-mep.c (mep_final_link_relocate): Don't do overflow checking on VT relocs. (mep_elf_merge_private_bfd_data): Return true if we chose not to merge the data. 2001-07-09 DJ Delorie * cpu-mep.c (mep_compatible): New, base compatibility on conflicting configurations. (bfd_mep_arch): Use a macro and wrap with comments for the config tool. * elf32-mep.c (elf32_mep_machine): Take bfd_mach directly from flags. (mep_elf_merge_private_bfd_data): Merge configurations sanely. (config_names): New. (mep_elf_print_private_bfd_data): Print config name if possible. 2001-06-25 DJ Delorie * elf32-mep.c (mep_reloc_type_lookup): Add vtable special cases, regenerate others. * reloc.c: Regenerate with new elf/mep.h relocs. * libbfd.h: Likewise. * bfd-in2.h: Likewise. 2001-06-25 Ben Elliston * elf32-mep.c (mep_reloc): Mark unused parameters as such. (mep_final_link_relocate): Remove unused local variables. 2001-06-06 DJ Delorie * config.bfd (mep-*-elf): Add bfd_elf32_mep_little_vec. * configure.in: Ditto. * configure: Ditto. * mep-relocs.pl: Support both endians. * elf32-mep.c: Regenerate; add little endian targets. 2001-05-31 DJ Delorie * elf32-mep.c (mep_elf_relocate_section): Fix error message. 2001-05-21 DJ Delorie * elf32-mep.c (mep_final_link_relocate): Fix pcrel logic. 2001-05-10 DJ Delorie * mep-relocs.pl: Detect no-overflow relocs better. * elf32-mep.c: Regenerate. HI16U, HI16S have correct shifts and those and LOW16 are no-overflow now. 2001-05-03 DJ Delorie * mep-relocs.pl: New, generates reloc-handling code for elf32-mep.c. * elf32-mep.c: Regenerate. 2001-05-02 DJ Delorie * elf32-mep.c (mep_elf_howto_table): Fix size fields. (mep_lookup_global, mep_tpoff_base, mep_sdaoff_base): New, support %tpoff() and %sdaoff() relocs. (mep_final_link_reloc): Add support for MeP relocs. (mep_elf_relocate_section): Support %tpoff() and %sdaoff(). 2001-05-01 DJ Delorie * elf32-mep.c: Use RELA only. (mep_elf_howto_table): Add MeP-specific relocs. (mep_reloc_type_lookup): Map relocs. * reloc.c: Add MeP-specific relocs. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. 2001-04-03 Ben Elliston * Makefile.am (ALL_MACHINES): Add cpu-mep.lo. (ALL_MACHINES_CFILES): Add cpu-mep.c. (BFD32_BACKENDS): Add elf32-mep.lo. (BFD32_BACKENDS_CFILES): Add elf32-mep.c. (cpu-mep.lo): New target. * Makefile.in: Regenerate. * config.bfd: Handle mep-*-elf. * archures.c (bfd_architecture): Add bfd_{arch,mach}_mep. (bfd_archures_list): Add bfd_mep_arch. * configure.in: Handle bfd_elf32_mep_vec. * configure: Regenerate. * targets.c (bfd_elf32_mep_vec): Declare. (bfd_target_vector): Add bfd_elf32_mep_vec. * elf.c (prep_headers): Set e_machine to EM_CYGNUS_MEP. * cpu-mep.c: New file. * elf32-mep.c: Likewise. * bfd-in2.h: Regenerate. * po/POTFILES.in: Likewise. binutils/ChangeLog: 2007-01-15 Dave Brolley * Contribute the following changes: 2003-10-29 Dave Brolley * configure.in: Define SKIP_ZEROES and SKIP_ZEROES_AT_END for mep. * configure: Regenerated. 2002-02-14 Graydon Hoare * objdump.c (objdump_print_addr_with_sym): Back out last change; leave in vendor branch. 2002-02-11 Graydon Hoare * objdump.c (objdump_print_addr_with_sym): Add "0x" prefix in output. 2001-04-03 Ben Elliston * readelf.c: Include "elf/mep.h". (guess_is_rela): Handle EM_CYGNUS_MEP. (get_machine_name): Ditto. (dump_relocations): Ditto. gas/ChangeLog: 2007-01-15 Dave Brolley * Contribute the following changes: 2005-08-22 Dave Brolley * config/tc-mep.c (mep_machine): Handle EF_MEP_CPU_C4. * testsuite/gas/mep/complex-relocs.exp: Use -mconfig=simple. 2005-04-22 Richard Sandiford * config/tc-mep.c (library_flag): New variable. (OPTION_LIBRARY): New macro. (md_longopts): Add -mlibrary. (md_parse_option): Handle it. (md_begin): Include library_flag in the ELF header flags. 2005-04-15 Richard Sandiford * config/tc-mep.c (OPTION_COP32): New macro. (md_longopts): Add -mcop32. (md_parse_option): Handle it. (md_show_usage): Mention it. 2005-04-12 Richard Sandiford * config/tc-mep.c (md_estimate_size_before_relax): Generalize VLIW code to handle all VLIW sections, not just .vtext. 2005-02-16 Dave Brolley * config/tc-mep.c: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename cgen_isa_mask_* to cgen_bitset_*. 2004-10-06 Richard Sandiford * config/tc-mep.c (mep_parse_operand): New function. (md_begin): Use it instead of gas_cgen_parse_operand. 2004-09-30 Richard Sandiford * config/tc-mep.c (mep_force_relocation): Allow pc-relative fixups against global symbols to be resolved at assembly time. 2004-06-21 Dave Brolley * config/tc-mep.c (mep_machine): New function. (md_begin): Call mep_machine to get bfd machine. Store the cpu in the elf flags. 2004-03-09 Dave Brolley * config/tc-mep.c (mep_cgen_assemble_cop_insn): Call mep_cgen_insn_supported before accepting the insn. 2004-02-25 Dave Brolley * config/tc-mep.c (OPTION_UCI): Removed. (OPTION_NOUCI): Removed. (OPTION_DSP): Removed. (OPTION_NODSP): Removed. (md_longopts): Remove muci, mno-uci, mdsp, mno-dsp. (md_parse_option): Remove hnadling of OPTION_UCI, OPTION_NOUCI, OPTION_DSP and OPTION_NODSP. (md_show_usage): Remove description of muci, mno-uci, mdsp, mno-dsp. 2003-11-20 Dave Brolley * config/tc-mep.h (TC_CGEN_MAX_RELAX): New macro. 2003-11-19 Dave Brolley * config/tc-mep.c (md_estimate_size_before_relax): Don't update the insn in the frag if the new subtype insn index is -1. 2003-11-13 DJ Delorie * config/tc-mep.c (md_convert_frag): Calculate new insn properly. 2003-11-13 Richard Sandiford * config/tc-mep.c (md_pcrel_from_section): Remove code that worked around write.c's handling of MD_APPLY_SYM_VALUE. 2003-11-13 DJ Delorie * config/tc-mep.c (md_relax_table): Use correct relaxation cutoffs. 2003-11-10 DJ Delorie * config/tc-mep.c (md_relax_table): Add relaxation for beqi, bnei (expand to abs24), bgei, blti, bcpeq, bcpne, and bcpat. (subtype_mappings): Likewise. (md_estimate_size_before_relax): Don't rely on beqi being after beqz (etc). (md_convert_frag): Add expansions for the above. 2003-10-19 Richard Sandiford * config/tc-mep.h (MD_APPLY_SYM_VALUE): Return 0. * config/tc-mep.c (mep_apply_fix3): Only adjust valP if the final fixup value is known. 2003-10-09 Stan Cox * config/tc-mep.c (mep_apply_fix3): Make BFD_RELOC_MEP_GPREL case the default case. 2003-09-16 Jim Blandy * config/tc-mep.c (md_show_usage): As of version 3.3, GCC no longer tolerates unescaped newlines in string literals. 2003-08-01 Dave Brolley * config/tc-mep.c (mep_apply_fix3): Adjust the low order bit of the BFD_RELOC_MEP_HI16S reloc to account for a signed operand in %lo (BFD_RELOC_MEP_LOW16). 2003-07-14 Nick Clifton * config/tc-mep.c: Remove inclusion of 2003-05-27 DJ Delorie * config/tc-mep.c (md_longopts): Add -mdebug. (md_parse_option): Likewise. 2003-05-16 Dave Brolley * config/tc-mep.c (mep_apply_fix3): New function. * config/tc-mep.h (md_apply_fix3): Now defined as mep_apply_fix3. (mep_apply_fix3): New prototype. 2003-04-29 DJ Delorie * config/tc-mep.c (mep_check_for_disabled_registers): Check only 16-bit insns. 2003-04-22 DJ Delorie * config/tc-mep.c (mep_noregerr): New, attach to pseudo-op .noregerr. (mep_check_for_disabled_registers): Skip if .noregerr. 2003-04-21 DJ Delorie * config/tc-mep.c (mep_check_for_disabled_registers): Support !CGEN_INT_INSN_P also. 2003-04-17 DJ Delorie * config/tc-mep.c (mep_check_for_disabled_registers): New. (md_assemble): Call it. 2002-02-10 Stan Cox * config/tc-mep.c (mep_cgen_assemble_cop_insn): Call CGEN_PARSE_FN. (md_estimate_size_before_relax): For vliw32, treat bsr12 as bsr24, beqz as beqi, bnez as bnei. (md_check_parallel32_scheduling): Likewise. 2002-01-27 Stan Cox * config/tc-mep.c (mep_cgen_assemble_cop_insn): New. (md_assemble): Use it. (mep_process_saved_insns): Bracket with gas_cgen_{save,restore}_fixups. 2002-12-13 Dave Brolley * config/tc-mep.c (md_assemble): Allocate an isa for use by gas_cgen_cpu_desc. Use support functions to manipulate it. 2002-09-21 Nick Clifton * config/tc-mep.c (mep_fix_adjustable): Remove extern and weak tests. (mep_force_relocation): Use S_FORCE_RELOC. * config/tc-mep.h (obj_fix_adjustable): Rename to tc_fix_adjustable. [Based on work done by Alan Modra] 2002-07-26 Jim Wilson * config/tc-mep.c (md_convert_frag, case MEP_INSN_BEQ): Check for out-of-range addends, and fall through to MEP_INSN_JMP case. 2002-05-23 DJ Delorie * config/tc-mep.c (md_relax_table): Adjust offsets. (mep_prepare_relax_scan): Adjust for opcode size. * config/tc-mep.h (md_prepare_scan): Adjust prototype. 2002-03-18 DJ Delorie * config/tc-mep.c (mep_process_saved_insns): Note that the bytes generated go with the previous line, not the current line. 2002-03-08 DJ Delorie * config/tc-mep.c (mep_switch_to_vliw_mode): Disallow .vliw unless VLIW is enabled. 2002-03-08 DJ Delorie * config/tc-mep.c: Add various -m options. (md_parse_options): Remember them. (md_show_usage): Document them. (md_begin): Process them. 2002-02-08 Frank Ch. Eigler * config/tc-mep.c (target_vliw64): Remove constant parameter. (md_begin): Use eflags, not bfd_mach, to identify configuration. (md_assemble): Reorganize for per-core configuration. (mep_check_parallel*_scheduling): Ditto. 2002-01-24 Graydon Hoare * config/tc-mep.c (md_cgen_lookup_reloc): Switch MEP_OPERAND_SIMM16 from BFD_RELOC_MEP_16 to BFD_RELOC_RELC, to handle fact that SIMM16 is signed. 2001-12-10 Ben Elliston * config/tc-mep.c (md_convert_frag): Don't fiddle the addends. 2001-12-10 Ben Elliston * config/tc-mep.h (OBJ_COMPLEX_RELC): Fix comment to conform to the GNU coding standard. 2001-12-05 John Healy * config/tc-mep.c (mep_flush_pending_output): Change to return an int. Return 1 for use with TC_START_SYMBOL. * config/tc-mep.h: Update prototype for mep_flush_pending_output and Define TC_START_SYMBOL. 2001-11-28 Nick Clifton * config/tc-mep.c: Update reference to md_apply_fix3. * config/tc-mep.h (MD_APPLY_FIX3): Remove. (TC_HANDLE_FX_DONE): Remove. * config/tc-mips.h (TC_HANDLES_FX_DONE): Remove. 2001-11-18 Frank Ch. Eigler * config/tc-mep.h (GAS_CGEN_MAX_FIXUPS): Define as 10. 2001-11-14 John Healy * config/tc-mep.h: Define md_flush_pending_output. Add prototype for mep_flush_pending_output. * config/tc-mep.c (mep_flush_pending_output): New routine. (mep_switch_to_core_mode): Process saved insns before switching 2001-10-29 John Healy * config/tc-mep.c (mep_check_parallel32_scheduling): Add check for IS_CORE_INSN attribute when determining whether an insn is a core or copro insn. (mep_check_parallel64_scheduling): Ditto 2001-10-25 graydon hoare * config/tc-mep.c (md_begin): Open CPU with MEP_COP_ISA. 2001-10-24 John Healy * config/tc-mep.c (target_vliw64): Initialized to 1. 2001-10-22 graydon hoare * config/tc-mep.c (md_parse_option): Switch VLIW64/32 behavior based on -mconfig option. (mep_check_parallel_scheduling): Likewise. 2001-10-11 John Healy * tc-mep.c (mep_check_parallel64_scheduling): Clear insn buffer before assembling nop that is longer than 32 bits. 2001-10-05 John Healy * config/tc-mep.c (md_assemble): Removed old kludge for handling comv insn in vliw mode. (md_assemble): Clear top 64 bytes of insn.buffer before assembling. (mep_check_parallel_scheduling): Forced into 64-bit mode when in vliw mode for now. 2001-10-04 John Healy * config/tc-mep.c (mep_check_parallel_scheduling): Forced into 32-bit mode when in vliw mode for now. 2001-10-01 John Healy * config/tc-mep.c (mep_check_parallel32_scheduling): Wrote body of function. 2001-09-28 Richard Henderson * config/tc-mep.c (mep_check_parallel32_scheduling, mep_check_parallel64_scheduling): Prototype. (target_address_for): Remove unused variable. * config/tc-mep.c: Reindent. 2001-09-28 Richard Henderson * config/obj-elf.c: Include elf/mep.h. * config/tc-mep.c: Prototype some functions. (mep_elf_section_change_hook): Remove. (mep_s_vtext): Remove vliw/core hackery. (mep_switch_to_core_mode): Don't change sections. (mep_switch_to_vliw_mode): Likewise. (mep_elf_section_letter): New. (mep_elf_section_flags): New. (mep_vtext_section): Rename from mep_create_vtext_section. * config/tc-mep.h: Cleanup prototypes. (md_elf_section_letter): New. (md_elf_section_flags): New. (ELF_TC_SPECIAL_SECTIONS): New. (md_elf_section_change_hook): Remove. 2001-09-27 John Healy * config/tc-mep.c: Removed debugging printfs from various places. 2001-09-27 John Healy * config/tc-mep.c (md_assemble): Moved all vliw group verification checking to separate functions, fixed a problem with saved insn counting. (mep_check_parallel_scheduling): Calls proper routine based on mode. (mep_check_parallel32_scheduling): New routine. (mep_check_parallel64_scheduling): New routine. (mep_save_insn): Added fixup saving. 2001-09-12 DJ Delorie * config/tc-mep.c (target_address_for): Remove r_address workaround. 2001-08-15 Ben Elliston * config/tc-mep.c (md_assemble): Remove unused local vars. 2001-07-25 Richard Henderson * config/tc-mep.c (target_address_for): Don't crash looking up resolved local symbols. 2001-07-23 John Healy * config/tc-mep.c: Cleaned up some old comments. 2001-07-12 John Healy * config/tc-mep.c (mep_elf_section_change_hook): Renamed from mep_elf_section_change_data_hook. Using this hook simplify section change tracking. (mep_s_text): Removed. (mep_s_data): Removed. (md_pseud_table): Removed entries for .text and .data. * config/tc-mep.c: Removed prototypes for mep_s_text and mep_s_data. Defeined md_elf_section_change_hook. Removed definition for md_elf_section_change_data_hook. Added prototype for mep_elf_section_change_hook. 2001-07-10 John Healy * config/tc-mep.c: Added flag to setion_data structure and new vtext_section variable. (md_pseudo_table): Added entries for .data, .text and .vtext. (md_begin): Added intializations for name field of section_data structures and the flag to indicate that vliw mode has not been used. (mep_elf_section_change_data_hook): New routine to track section changes that are done using the .section directive. (mep_s_data): New routine to handle .data directive. (mep_s_text): New routine to handle .text directive. (mep_s_vtext): New routine to handle the new .vtext directive. (mep_switch_to_core_mode): Renamed from switch_to_core_mode. Added code to track section changes across core/vliw mode switches and switch back to the section that was in use last time core mode was in use. (mep_switch_to_core_mode): Renamed from switch_to_vliw_mode. Added code to track section changes across core/vliw mode switches and switch back to the section that was in use last time vliw mode was in use. Also added code to detect the first transition into vliw mode and create and switch to the .vtext section, which is the default section (the counterpart of core mode's .text section) in vliw mode. (mep_create_vtext_section): The code that actually creates the .vtext section. (switch_to_core_mode): Renamed to mep_switch_to_core_mode. (switch_to_vliw_mode): Renamed to mep_switch_to_vliw_mode. * config/tc-mep.h: Changed prototypes for mode switching functions to refelct the new names. Added prototypes for mep_s_data, mep_s_text, mep_s_vtext, mep_create_vtext_section, mep_elf_section_change_data_hook, and obj_elf_change_section. Added definitions for VTEXT_SECTION_NAME and md_elf_section_change_data_hook. 2001-07-09 DJ Delorie * config/tc-mep.c (md_begin): Set bfd_mach from config, not a static value. 2001-07-06 DJ Delorie * config/tc-mep.c (OPTION_CONFIG): New. (md_longopts): Add -mconfig (md_parse_option): Support OPTION_CONFIG. (md_show_usage): List configurations if any. (md_begin): Set the bfd's private flags to the configuration number. 2001-07-05 John Healy * config/tc-mep.c (md_begin): Added initialization of stored fixups array. (md_assemble): Added crude processing for vliw mode. (mep_unrecognized_line): New routine for handling leading + required for instruction parallelization in vliw mode. (mep_save_insn): New routine. (mep_cleanup): New routine. (mep_process_saved_insns): New routine. (mep_check_parallel_scheduling): New routine. * config/tc-mep.h: Defined tc_unrecognized_line and md_cleanup. Added prototypes for mep_unrecognized_line, mep_save_insn, mep_cleaup, mep_process_saved_insns and mep_check_parallel_scheduling. 2001-06-20 Frank Ch. Eigler * config/tc-mep.h: Define OBJ_COMPLEX_RELC. 2001-06-19 John Healy * config/tc-mep.h: Added enum EXP_PAR_INSN. * config/tc-mep.c (md_assemble): Fleshed out skeleton for vliw mode processing and added error generation when a leading '+' is encountered in core mode. 2001-06-19 John Healy * config/tc-mep (md_assemble_single_insn): Removed. (md_assemble_insn_pair): Removed. (md_assemble): Replaced normal assemble for core mode and added simple preliminary top-level skeleton for vliw mode processing. Instructions preceeded by a '+' are now detected in vliw mode. (mep_unrecognized_line): New routine. It's called each time a line is encountered that can't be parsed. This is where leading '+' signs are detected. * config/tc-mep.h: Added prototype for mep_unrecognized_line and defined tc_unrecognized_line macro. Also removed prototypes for md_assemble_single_insn and md_assemble_insn_pair. 2001-06-14 John Healy * config/tc-mep.c (assemble_single_insn): New routine that is responsible for assembling a single (i.e. non-core/cop pair) instruction. Essentially contains the previous contents of md_assemble. (assemble_insn_pair): New routine (just a stub so far) to be used for assembling core/copro instruction pairs in vliw mode. (md_assemble): Added framework for handling core and vliw modes. Moved most of the contents to assemble_single_insn(). * config/tc-mep.h: Added prototypes for assemble_single_insn and assemble_insn_pair. 2001-06-14 John Healy * config/tc-mep.c (pseudo_table): Added .vliw and .core pseudo-ops. (switch_to_core_mode): New routine. (switch_to_vliw_mode): New routine. Added new variable "mode" to track core/vliw mode switches. * config/tc-mep.h: Added prototypes for switch_to_core_mode() and switch_to_vliw_mode(). 2001-06-13 DJ Delorie * config/tc-mep.h (md_prepare_relax_scan): Define. * config/tc-mep.c (md_relax_table): Add entries for BEQZ and BNEZ. They relax to BEQI and BNEI. (md_prepare_relax_scan): New. Avoid auto-relaxing due to externs; we handle that specially ourselves. (md_convert_frag): Add code for beqz/bnez to beqi/bnei. 2001-06-12 DJ Delorie * config/tc-mep.h (md_prepare_relax_scan): Define. * config/tc-mep.c (md_relax_table): Add entries for beqz->beqi and bnez->bnei conversions. (subtype_mappings): Ditto. (mep_prepare_relax_scan): New. If relaxing for an unresolved symbol, set the "aim" to zero to prevent the location of the opcode from causing unwanted relaxation (subtype_mappings handles that). (md_convert_frag): Add conversions for beqz, bnez, beqi, and bnei. 2001-06-06 DJ Delorie * configure.in (mep-*-elf): Set default endianness. * configure (mep-*-elf): Ditto. * config/tc-mep.h (TARGET_FORMAT): Support both big and little endian. * config/tc-mep.c (md_longopts): Add -EB and -EL options. (md_parse_option): Parse them. (md_show_usage): Document them. (md_begin): Set endianness. (md_convert_frag): Support both endians. (md_number_to_chars): Ditto. * config/tc-mep.c (subtype_mappings): Don't expand bra/beq to jmp for external symbols. 2001-05-31 DJ Delorie * config/tc-mep (me_pcrel_from_section): Fix bug in pcrel branches between segments in the same object. 2001-05-18 Ben Elliston * Makefile.am (CPU_TYPES): Add mep. * Makefile.in: Regenerate. 2001-05-03 DJ Delorie * config/tc-mep.c (insn_to_subtype): Add prototype, fix type of i. (md_convert_frag): Calculate fix size and location correctly. (md_pcrel_from_section): Let cgen do the adjustments. (md_cgen_lookup_reloc): Make sure we don't move the reloc more than once. * config/tc-mep.c: Comments start with `#' as per spec (or ';' at BOL), `;' used for line separator. 2001-05-03 DJ Delorie * config/tc-mep.c (md_convert_frag): Don't rely on fx_fix to say how big the opcode is, but specify them for each fixup type explicitly. Add default case to silence warnings. 2001-05-01 DJ Delorie * config/tc-mep.c: Rename stuff from iq2000 to mep. (md_relax_table): New. (md_estimate_size_before_relaxing): Support bra->beq->jmp and bsr12->bsr24 relaxing. (md_convert_frag): Ditto. (md_cgen_lookup_reloc): Add MeP-specific relocs. * config/tc-mep.h: Rename stuff from iq2000 to mep. (TC_GENERIC_RELAX_TABLE): Define. (md_operand): Define. 2001-04-03 Ben Elliston * configure.in: Handle mep-elf target. * configure: Regenerate. * config/tc-mep.c: New file. * config/tc-mep.h: Likewise. include/elf/ChangeLog: 2007-01-15 Dave Brolley * Contribute the following Changes: 2005-08-22 Dave Brolley * mep.h (EF_MEP_CPU_C4): New macro. (EF_MEP_CPU_H1): Change to 0x10000000. 2005-04-22 Richard Sandiford * mep.h (EF_MEP_LIBRARY): New flag. (EF_MEP_ALL_FLAGS): Update accordingly. 2004-06-21 Dave Brolley * mep.h (EF_MEP_CPU_MASK, EF_MEP_CPU_MEP, EF_MEP_CPU_C2) (EF_MEP_CPU_C3, EF_MEP_CPU_H1, EF_MEP_INDEX_MASK) (EF_MEP_ALL_FLAGS): New macros. 2001-09-28 Richard Henderson * mep.h (SHF_MEP_VLIW, SEC_MEP_VLIW): New. 2001-07-12 DJ Delorie * mep.h (R_MEP_GNU_VTINHERIT, R_MEP_GNU_VTENTRY): Mark as no-overflow. 2001-06-25 DJ Delorie * mep.h: Add vtable relocs. 2001-05-10 DJ Delorie * mep.h: Fix bit offsets for HI16*, make them no-overflow. Add comment about mep-relocs.pl. 2001-05-01 DJ Delorie * mep.h: Add MeP-specific relocs. 2001-03-22 Ben Elliston * mep.h: New file. 2001-03-20 Ben Elliston * common.h (EM_CYGNUS_MEP): Define. include/ChangeLog: 2007-01-15 Dave Brolley * Contribute the following changes: 2001-03-26 Ben Elliston * dis-asm.h (print_insn_mep): Declare. ld/testsuite/ChangeLog: 2007-01-15 Dave Brolley * Contribute the following Changes: 2006-12-08 Dave Brolley * ld-undefined/undefined.exp: XFAIL the undefined test for mep-*-*. 2002-04-09 DJ Delorie * ld-mep: New, with content. ld/ChangeLog: 2007-01-15 Dave Brolley * Contribute the following changes: 2006-12-08 Dave Brolley * emulparams/elf32mep.sh (OTHER_SDATA_SECTIONS): PROVIDE __sdabase here. (OTHER_READONLY_SECTIONS): Set __stack here... (OTHER_END_SYMBOLS): ...not here. 2005-07-29 Dave Brolley * emulparams/elf32mep.sh (SCRIPT_NAME): Set to 'mep'. (OTHER_SDATA_SECTIONS): Add code to check for overflow of tiny sections. * Makefile.am (eelf32mep.c): Use scripttempl.mep.sc. * Makefile.in: Regenerate. * scripttempl/mep.sc: New file. 2003-05-21 Richard Sandiford * emulparams/elf32mep.sh (TEMPLATE_NAME): Define. 2003-05-02 Dave Brolley * emulparams/elf32mep.sh (OTHER_READONLY_SECTIONS): Remove __stack[1-11]. 2003-02-06 Dave Brolley * emulparams/elf32mep.sh (OTHER_READONLY_SECTIONS): Support 12 modules. Correct stack alignment. 2002-06-10 DJ Delorie * emulparams/elf32mep.sh (OTHER_TEXT_SECTIONS): Change .vfar to .vftext. 2002-05-29 DJ Delorie * emulparams/elf32mep.sh (OTHER_TEXT_SECTIONS): Add .vfar. 2002-05-01 Graydon Hoare * emulparams/elf32mep.sh (OTHER_READONLY_SECTIONS): Add .rostacktab. 2002-05-06 Dave Brolley * emulparams/elf32mep.sh (OTHER_END_SYMBOLS): Use to define __stack, __heap and __heap_end. 2002-03-19 DJ Delorie * emulparams/elf32mep.sh (OTHER_BSS_SECTIONS): Check size of near segment. 2002-02-19 Frank Ch. Eigler * emulparams/elf32mep.sh: Add .based/.tiny size limit assertions. 2001-10-29 Frank Ch. Eigler * emulparams/elf32mep.sh (__heap, __heap_end): Provide start/end symbols for heap -- see also libgloss/mep/sbrk.c. 2001-10-25 DJ Delorie * emulparams/elf32mep.sh (OTHER_TEXT_SECTIONS): Support .srodata. * emulparams/elf32mep.sh (OTHER_BSS_SECTIONS): Provide start/end symbols for farbss. * emulparams/elf32mep.sh (OTHER_TEXT_SECTIONS): Support .frodata. 2001-06-11 DJ Delorie * emulparams/elf32mep.sh (OTHER_TEXT_SECTIONS): Merge far functions. (OTHER_READWRITE_SECTIONS): Include .gnu.linkonce.*. 2001-05-23 Anthony Green * emulparams/elf32mep.sh (DATA_START_SYMBOLS): Define. 2001-05-31 DJ Delorie * emulparams/elf32mep.sh: Move stack, add __sdabase and __tpbase symbols, add .based, .far, and .farbss sections. 2001-05-02 DJ Delorie * configure.tgt: Change target_emul to targ_emul. 2001-04-03 Ben Elliston * Makefile.am (ALL_EMULATIONS): Add eelf32mep.o. (eelf32mep.c): New target. * Makefile.in: Regenerate. * configure.tgt: Handle mep-*-elf. * emulparams/elf32mep.sh: New file.