From: Dave Brolley Date: Tue, 6 Feb 2007 18:10:34 +0000 (+0000) Subject: Fix entries for MeP port and complex relocations. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e382d1741b5af1e7086fb9e6b0b6c510e9782c0e;p=binutils-gdb.git Fix entries for MeP port and complex relocations. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8bfc5b06a28..3c64c6a11eb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -5,20 +5,35 @@ * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms. 2007-02-05 Dave Brolley - - * elflink.h: Add support for Toshiba MeP. - * reloc.c: Likewise. - * Makefile.am: Likewise. - * config.bfd: Likewise. - * configure.in: Likewise. - * archures.c: Likewise. - * targets.c: Likewise. - * elf.c: Likewise. + Richard Sandiford + Stan Cox + Nick Clifton + DJ Delorie + Frank Ch. Eigler + Ben Elliston + Richard Henderson + + * 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,elf32-mep.lo): New targets. + * archures.c (bfd_arch_mep): New enumerator. + (bfd_mach_mep, bfd_mach_mep_h1): New macros. + (bfd_mep_arch): New external variable. + (bfd_archures_list): Add bfd_mep_arch. + * config.bfd: Support mep-*-elf. + * configure.in: Support bfd_elf32_mep_vec and bfd_elf32_mep_little_vec. + * reloc.c (BFD_RELOC_MEP_*): New relocation numbers. + * targets.c (bfd_elf32_mep_vec,bfd_elf32_mep_little_vec): New extern + declarations. + (_bfd_target_vector): Add bfd_elf32_mep_vec and + bfd_elf32_mep_little_vec. * mep-relocs.pl: New file. * cpu-mep.c: New file. * elf32-mep.c: New file. * bfd-in2.h: Regenerate. - * po/POTFILES.in: Likewise. + * po/POTFILES.in: Regenerate. * libbfd.h: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate. @@ -39,117 +54,17 @@ (mep_elf_relocate_section): Call bfd_elf_perform_complex_relocation. 2007-02-05 Dave Brolley - - * Contribute the following changes: - 2004-07-23 Richard Sandiford - - * elflink.c (perform_complex_relocation): Detect relocations against - undefined symbols. - - 2002-04-02 DJ Delorie - - * elflink.h (resolve_symbol): Handle weak symbols. - - 2002-03-07 Graydon Hoare - - * elflink.h (perform_complex_relocations): Minor debug message - touchup. - - 2002-01-23 Graydon Hoare - - * bfd-in2.h: Add signed RELC (SRELC) symbols. - * elf.c (swap_out_syms): Likewise. - * elfcode.h (elf_slurp_symbol_table): Likewise. - (elf_symbol_flags): Likewise. - * syms.c: Likewise. - * elflink.h (eval_symbol): Introduce signed RELC evaluation. - (evaluate_complex_relocation_symbols): Likewise. - (perform_complex_relocations): Remove sign-extension logic, - which was broken anyways. - - 2002-01-15 Graydon Hoare - - * elflink.h (decode_complex_addend): Add oplen, signed_p, trunc_p - params. - (perform_complex_relocations): Call decode with new args, - Sign extend leftmost signed fields, delegate overflow check to - bfd_check_overflow in reloc.c, enhance overflow error messages. - - 2002-01-08 Graydon Hoare - - * elflink.h (resolve_symbol): Fix symbol -> section relationship. - (resolve_symbol): Remove unused parameter. - (eval_symbol): Remove unused arg from resolve_symbol call. - - 2002-01-01 Graydon Hoare - - * elflink.h (perform_complex_relocations): Add overflow - checking for RELC fragments. - - 2001-12-15 Nick Clifton - - * elflink.h (evaluate_complex_relocation_symbols): Formatting - tidy ups. Process all symbols, even if an error is - encountered. - - 2001-12-10 Graydon Hoare - - * elflink.h (evaluate_complex_relocation_symbols): Resolve - global RELC symbols using separate logic from local symbols. - - 2001-12-10 Nick Clifton - - Various formatting tidy ups and compile time warning removals, - plus: - - * elflink.h (eval_symbol): Set bfd_error for failure returns. - (evaluate_complex_relocation_symbols): Only evaluate local - symbols. - - 2001-11-24 Graydon Hoare - - * elflink.h.c (resolve_symbol): Skip non-local syms in - local lookup loop; get section offset from section - symbol occurs in (rather than reloc section); handle - common symbols. - - 2001-11-24 Graydon Hoare - - * elflink.h.c (resolve_symbol): Use - bfd_elf_string_from_elf_section to look up local symbols in - current bfd. - (eval_symbol): Add input_bfd parameter for resolve_symbol's - use. - (evaluate_complex_relocation_symbols): Pass parameter. - (resolve_section) Fix silly typo. - - 2001-10-16 Jeff Holcomb - - * elflink.h (eval_symbol): Buffer size needs to be an integer for - Solaris cc. - - 2001-11-15 graydon hoare - - * elf32-mep.c (mep_info_to_howto_rela): Add complex reloc - howto. - * elflink.h (resolve_section): Add support for pseudo-sections - in complex symbols. - (evaluate_complex_relocation_symbols): Permit evaluating RELC - symbols on non-RELC relocs. They are distinct issues. - - 2001-10-15 graydon hoare - - * reloc.c (bfd_reloc_code_type): Define BFD_RELOC_RELC, - in the _correct_ place. - - 2001-10-11 graydon hoare - - * elflink.h (eval_symbol): Fix strtol calls with undefined - behavior. - - 2001-10-03 graydon hoare - - * elflink.h (set_symbol_value): New function for relc. + Richard Sandiford + DJ Delorie + Graydon Hoare + Nick Clifton + Jeff Holcomb + Frank Ch. Eigler + + * elf-bfd.h (bfd_elf_perform_complex_relocations): New prototype. + * elf.c (swap_out_syms): Handle BSF_RELC and BSF_SRELC. + * elfcode.h (elf_slurp_symbol_table): Handle STT_RELC and STT_SRELC. + * elflink.c (set_symbolValue): New static function. (resolve_symbol): Likewise. (resolve_section): Likewise. (undefined_reference): Likewise. @@ -157,30 +72,11 @@ (evaluate_complex_relocation_symbols): Likewise. (put_value): Likewise. (get_value): Likewise. - (decode_complex_addend): Likewise. - (perform_complex_relocations): Likewise. - (elf_link_input_bfd): Insert hook into - evaluate_complex_relocation_symbols. - (elf_link_input_bfd): Insert hook into - perform_complex_relocations. - - * bfd-in2.h: Define BFD_RELOC_RELC, BSF_RELC. - - * elf.c (swap_out_syms): Add BSF_RELC / STT_RELC support. - - * elfcode.h (elf_slurp_symbol_table): Likewise. - (elf_symbol_flags): Likewise. - - * libbfd.h: Add "BFD_RELOC_RELC" to bfd_reloc_code_real_names - table. - - 2001-06-20 Frank Ch. Eigler - - * syms.c (BSF_RELC): New symbol flag. - * elf.c (swap_out_syms): Map BSF_RELC -> STT_RELC. - * elfcode.h (elf_slurp_symbol_table): Map STT_RELC -> BSF_RELC. - (elf_symbol_flags): Display BSF_RELC as "relc". - * bfd-in2.h: Regenerated. + (decode_complex_addend): + (bfd_elf_perform_complex_relocation): New function. + (elf_link_input_bfd): Call evaluate_complex_relocation_symbols. + * reloc.c (BFD_RELOC_RELC): New relocation number. + * syms.c (BSF_RELC,BSF_SRELC): New macros. 2007-02-05 Bob Wilson