aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2003-04-22Replace references to Mitsubishi M32R with references to Renesas M32R.Nick Clifton4-4/+11
2003-04-22daily updateAlan Modra1-1/+1
2003-04-21 * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for anRichard Henderson2-1/+8
executable when a symbol is defined both regular and dynamic.
2003-04-21 * Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo.Stephane Carrez5-8/+29
(elf32-m68hc1x.lo): Update dependencies * configure.in: Add elf32-m68hc1x.lo. * configure: Rebuild. * Makefile.in: Rebuild.
2003-04-21 * elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c)Stephane Carrez5-803/+1998
(m68hc11_elf_hash_table_create): New function. (elf32_m68hc11_link_hash_table_free): New function. (stub_hash_newfunc): New function. (m68hc11_add_stub): New function. (elf32_m68hc11_add_symbol_hook): New function. (elf32_m68hc11_setup_section_lists): New function. (elf32_m68hc11_next_input_section): New function. (elf32_m68hc11_size_stubs): New function. (elf32_m68hc11_build_stubs): New function. (m68hc11_get_relocation_value): New function. (elf32_m68hc11_relocate_section): Call the above to redirect some relocations to the trampoline code. (m68hc11_elf_export_one_stub): New function. (m68hc11_elf_set_symbol): New function. (elf32_m68hc11_build_stubs): Call it via bfd_hash_traverse. (m68hc11_elf_get_bank_parameters): Get parameters only when the info is not yet initialized. * elf32-m68hc1x.h: New file (from elf32-m68hc11.c and elf32-m68hc12.c) (elf32_m68hc11_stub_hash_entry): New struct. (m68hc11_page_info): Add trampoline handler address. (m68hc11_elf_link_hash_table): Add stubs generation members. (elf32_m68hc11_add_symbol_hook): Declare. (elf32_m68hc11_setup_section_lists): Declare. (elf32_m68hc11_size_stubs): Declare. (elf32_m68hc11_build_stubs): Declare. * elf32-m68hc11.c (m68hc11_elf_ignore_reloc): Move to elf32-m68hc1x.c. (elf32_m68hc11_gc_mark_hook, elf32_m68hc11_gc_sweep_hook): Likewise. (elf32_m68hc11_check_relocs, elf32_m68hc11_relocate_section): Ditto. (_bfd_m68hc11_elf_set_private_flags): Ditto. (_bfd_m68hc11_elf_merge_private_bfd_data): Ditto. (_bfd_m68hc11_elf_print_private_bfd_data): Ditto. (bfd_elf32_bfd_link_hash_table_create): Define. (elf_backend_add_symbol_hook): Define. (m68hc11_elf_bfd_link_hash_table_create): New function. (m68hc11_elf_build_one_stub): New function. (m68hc11_elf_size_one_stub): New function. (m68hc11_elf_bfd_link_hash_table_create): Install the above. (bfd_elf32_bfd_link_hash_table_create): Define. * elf32-m68hc12.c (m68hc11_elf_ignore_reloc): Remove. (m68hc12_addr_is_banked): Remove, use m68hc11_addr_is_banked. (m68hc12_phys_addr): Ditto. (m68hc12_phys_page): Ditto. (m68hc12_elf_special_reloc): Move to elf32-m68hc1x.c. (elf32_m68hc11_gc_mark_hook): Likewise. (elf32_m68hc11_gc_sweep_hook): Likewise. (elf32_m68hc11_check_relocs): Likewise. (elf32_m68hc11_relocate_section): Likewise. (_bfd_m68hc12_elf_set_private_flags): Likewise. (_bfd_m68hc12_elf_merge_private_bfd_data): Likewise. (_bfd_m68hc12_elf_print_private_bfd_data): Likewise. (m68hc12_elf_build_one_stub): New function. (m68hc12_elf_size_one_stub): New function. (m68hc12_elf_bfd_link_hash_table_create): New function, use the above. (elf_backend_add_symbol_hook): Define. (elf_m68hc11_howto_table): Use TRUE for pcrel relocs; fix masks.
2003-04-21daily updateAlan Modra1-1/+1
2003-04-20daily updateAlan Modra1-1/+1
2003-04-19daily updateAlan Modra1-1/+1
2003-04-18Only check associated vector if the matching_vector has been created.Nick Clifton2-1/+8
2003-04-18daily updateAlan Modra1-1/+1
2003-04-17daily updateAlan Modra1-1/+1
2003-04-16* dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo inAlexandre Oliva2-1/+6
2003-04-09's change.
2003-04-16daily updateAlan Modra1-1/+1
2003-04-15If a section holds uninitialized data and is from an object file or from anNick Clifton2-8/+17
executable image that has not initialized the s_size field, or if the physical size is padded, use the virtual size (stored in s_paddr) instead.
2003-04-15Properly report filename for alignment reduction.Nick Clifton2-6/+25
Add test for alignment reduction.
2003-04-15Replace occurrances of 'Hitachi' with 'Renesas'.Nick Clifton14-59/+75
2003-04-15daily updateAlan Modra1-1/+1
2003-04-14Maintain maximum alignment for common symbols. Warn reducing alignment forNick Clifton2-7/+68
common symbols. Report old filename when symbol size changes.
2003-04-14daily updateAlan Modra1-1/+1
2003-04-13daily updateAlan Modra1-1/+1
2003-04-12* elfxx-mips.c (mips_elf_calculate_relocation): Adjust two otherAlexandre Oliva2-6/+14
occurrences of the same test changed in the previous patch. Optimize.
2003-04-12* elfxx-mips.c (mips_elf_get_global_gotsym_index): New.Alexandre Oliva2-3/+36
(mips_elf_calculate_relocation): Decay GOT_PAGE/GOT_OFST to GOT_DISP/addend only if the symbol got a global GOT entry.
2003-04-12daily updateAlan Modra1-1/+1
2003-04-11* elfxx-mips.c (mips_elf_calculate_relocation): DecayAlexandre Oliva2-3/+69
GOT_PAGE/GOT_OFST referencing overridable symbol to GOT_DISP/addend. (_bfd_mips_elf_check_relocs): Handle GOT_PAGE referencing global symbol as GOT_DISP.
2003-04-11daily updateAlan Modra1-1/+1
2003-04-10 * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to theBob Wilson2-5/+9
next relocation on an undefined symbol.
2003-04-10daily updateAlan Modra1-1/+1
2003-04-09 * elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:Richard Henderson2-1/+18
Ignore relocations against r_symndx == 0.
2003-04-092003-04-09 H.J. Lu <hjl@gnu.org>H.J. Lu3-2/+6
* elf64-alpha.c (elf64_alpha_relocate_section): Don't return FALSE for undefined symbols. * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
2003-04-09* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standardAlexandre Oliva2-17/+31
and IRIX-specific shift-to-64-bit 4-byte lengths before following addr_size.
2003-04-09* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)Alexandre Oliva2-4/+10
pointer size from ABI, not arch_bits_per_address.
2003-04-09daily updateAlan Modra1-1/+1
2003-04-08daily updateAlan Modra1-1/+1
2003-04-07 * elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file relatedKevin Buettner2-2/+7
constants for n32 ABI.
2003-04-07daily updateAlan Modra1-1/+1
2003-04-06(bfd_simple_get_relocated_section_contents): Disable free that leads to GDBNick Clifton2-0/+16
vs BFD memory corruption.
2003-04-06daily updateAlan Modra1-1/+1
2003-04-05daily updateAlan Modra1-1/+1
2003-04-04 * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjustStephane Carrez2-19/+38
symbols that mark the end of the section. (m68hc11_elf_relax_section): Use R_M68HC11_PCREL_8 relocs when converting to a relative branch so that the offset is computed after the relaxation; also relocate a jsr into a bsr if possible but don't relax them if they are to a far symbol as we need to call the trampoline code. (elf_m68hc11_howto_table): Set pcrel_offset to true.
2003-04-04Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and ↵Svein Seldal5-22/+31
s/c3x/tic3x/. 2003 copyright update
2003-04-04daily updateAlan Modra1-1/+1
2003-04-03(_bfd_XXi_swap_scnhdr_out): Compute ps and ss differently for object files andNick Clifton4-46/+69
executables. (coff_swap_scnhdr_in): Only set the s_size field for object files or for executables who have not already initialised the field. (bfd_pe_executable_p): New macro. Return true if the PE format bfd is an executable.
2003-04-03 * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): Expand comment.Alan Modra2-2/+7
2003-04-03 * elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCALAlan Modra2-4/+8
here as it's too early to reliably determine locality. (ppc_elf_gc_sweep_hook): Likewise.
2003-04-03daily updateAlan Modra1-1/+1
2003-04-02 * xtensa-modules.c: Remove comment indicating that this is aBob Wilson2-2/+5
generated file.
2003-04-02daily updateAlan Modra1-1/+1
2003-04-01 * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.Alan Modra2-42/+49
2003-04-01Add Xtensa portNick Clifton15-20/+12754
2003-04-01Fixes for iWMMXt contribution.Nick Clifton9-186/+362