aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2000-09-21Correct comments. Don't check non-code output sections for stubAlan Modra2-23/+50
grouping. (In the process, partly revert and fix bugs introduced with the last change. Oops.)
2000-09-21Fix a segfault caused by under-allocating an array.Alan Modra2-18/+24
2000-09-20Handle out of memory situations.Alan Modra2-0/+7
2000-09-19Change the PLT entry 0 instruction sequence to actually work.Nick Clifton2-4/+11
2000-09-18* elf32-sh.c (sh_elf_relocate_section): UseAlexandre Oliva2-19/+25
_bfd_final_link_relocate to apply the relocation against a section symbol, when doing relocatable links.
2000-09-18Group stub sections.Alan Modra3-165/+276
2000-09-16* elf32-sh.c (ELF_MAXPAGESIZE): Define to 128, to matchAlexandre Oliva2-1/+6
ld/emulparams/shelf.sh.
2000-09-15add support for embedded relocs in m68k ELF portNick Clifton9-389/+557
2000-09-15ld performs LITUSE relocations incorrectly if -relax is specified on the ldNick Clifton2-10/+26
command line and the displacement field of the load or store instruction is non-zero.
2000-09-15Find the first .init and .fini sections correctly.Alan Modra2-57/+90
Clobber millicode syms via a hash traversal here. elf_adjust_dynamic_symbol really ought to let us look at all dynamic symbols, but it doesn't.
2000-09-14Lots of bug fixes. .plt entries for DT_INIT, DT_FINI, and anyAlan Modra2-240/+655
local function that has a plabel. Size the stub reloc sections as we size the stubs.
2000-09-14* elf32-sh.c (sh_elf_howto_table): Moved R_SH_GOT32, R_SH_PLT32,Alexandre Oliva2-113/+257
R_SH_COPY, R_SH_GLOB_DAT, R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC) to the range from 160 to 167. Replaced the original entries with EMPTY_HOWTOs, and added new ones to fill in the gap. (sh_elf_info_to_howto): Make sure the new gap isn't used. (sh_elf_relocate_section): Likewise.
2000-09-14Add support for the MIPS32Nick Clifton5-2/+19
2000-09-14 * som.c (som_write_symbol_strings): Do not used fixed buffers,Jeff Law2-25/+68
use size_t as a counter. (som_write_space_strings): Similarly.
2000-09-122000-09-12 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2-0/+47
* elf32-i860.c (elf32_i860_relocate_pc26): New function and prototype. (elf32_i860_relocate_section): Invoke new function from here.
2000-09-11Make debug_sec_names static.Nick Clifton2-1/+6
2000-09-10Emit 8 NULs for target section name instead of dumping core when the targetNick Clifton2-1/+8
symbol is undefined.
2000-09-092000-09-09 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-4/+9
* riscix.c: Remove DEFUN.
2000-09-09Do not initialise flags in output bfd if the input bfd is the defaultNick Clifton2-6/+13
architecture with the default flags.
2000-09-082000-09-08 Kazu Hirata <kazu@hxi.com>Kazu Hirata4-1093/+1046
* archive.c: Fix formatting. * coff-arm.c: Likewise. * doc/chew.c: Likewise.
2000-09-08(bfd_get_unique_section_name): Put a dot before the numeric suffix.Alan Modra2-152/+157
2000-09-072000-09-07 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-78/+97
* doc/chew.c: Remove all uses of DEFUN and DEFUN_VOID.
2000-09-072000-09-07 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-162/+156
* elf.c: Fix formatting.
2000-09-07* config.bfd (sh-*-linux*): Added.Alexandre Oliva9-12/+78
* configure.in (bfd_elf32_shlin_vec, bfd_elf32_shblin_vec): New. * targets.c: Declare them. * elf32-sh-lin.c: New file. * Makefile.am: Compile it. * elf32-sh.c: Don't override defines from elf32-sh-lin.c. * configure, Makefile.in: Rebuilt.
2000-09-06 * xcofflink.c (xcoff_link_input_bfd): Include the .tocbssGeoffrey Keating3-9/+45
pseduo-section when determining where the TOC ends. * coff-rs6000.c (_bfd_xcoff_swap_aux_out): Use bfd_h_put_16 to output x_tvndx as it is only two bytes wide. * coff-rs6000.c (xcoff_howto_table): A modifiable branch-absolute reloc is 26 or 32 bits wide. * coff-rs6000.c (_bfd_xcoff_rtype2howto): The bitsize is irrelevant for relocs that don't change anything. Also look at the full 6 bits of bitsize.
2000-09-062000-09-06 Philip Blundell <philb@gnu.org>Phil Blundell2-1/+5
* config.bfd (arm*-*-uclinux*): New target.
2000-09-06* configure: Rebuilt with new libtool.m4.Alexandre Oliva2-272/+268
2000-09-06`template' isn't a very good name for a variable.Alan Modra3-7/+13
Who invented c++ anyway?
2000-09-06Regenerate files using fixed aclocal install.Nick Clifton5-67/+101
2000-09-05Fix buggy macrosNick Clifton2-603/+269
2000-09-052000-09-05 Steven Johnson <sbjohnson@ozemail.com.au>Geoffrey Keating2-0/+18
* cpu-powerpc.c (arch_info_struct): Added MPC860 Family entry.
2000-09-05Shared lib support.Alan Modra3-748/+3215
2000-09-05(SEC_HAS_GOT_REF): Define new flag for asection.Alan Modra3-5/+79
(bfd_get_unique_section_name): New function.
2000-09-05A tiny addition for PCREL12F relocs, and a fix for functions that haveAlan Modra2-10/+28
been forced local.
2000-09-05Support for vtable relocs.Alan Modra2-62/+109
2000-09-03Fix formatting and spelling mistakesNick Clifton1-52/+52
2000-09-032000-09-03 Philip Blundell <philb@gnu.org>Phil Blundell2-1/+13
* elf32-arm.h (elf32_arm_relocate_section): Don't try to relocate references to undefined symbols in debugging sections.
2000-09-032000-09-02 H.J. Lu <hjl@gnu.org>H.J. Lu2-11/+17
* reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT, BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC): Move them from the MIPS section to the SH section.
2000-09-032000-09-02 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2-0/+26
* elf32-i860.c (bfd_elf32_bfd_is_local_label_name): Define macro. (elf32_i860_is_local_label_name): New function and prototype.
2000-09-02Increase minor version number (to 2.10.91) to help tools detect the newNick Clifton6-3/+368
ability to support removal of duplciate DWARF@ debug information.
2000-09-02Add .gnu.linkobce.wi. to the list of debug section names.Nick Clifton7-124/+168
Update generated files
2000-09-02Find all sections containing debug information and include them in the stash.Nick Clifton2-188/+224
2000-09-02* elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,Alexandre Oliva5-14/+1881
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New. (sh_reloc_map): Add new relocs. (sh_elf_check_relocs, sh_elf_link_hash_newfunc, sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol, sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol, sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New functions. (ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define. (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): New array constants. (elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry): New variables. (elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset, elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset): Define. (elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry, elf_sh_link_hash_table): New structs. (sh_elf_link_hash_traverse, sh_elf_hash_table): New macros. (sh_elf_relocate_section, sh_elf_check_relocs): Handle new relocation types. (elf_backend_create_dynamic_sections, bfd_elf32_bfd_link_hash_table_create, elf_backend_adjust_dynamic_symbol, elf_backend_size_dynamic_sections, elf_backend_finish_dynamic_symbol, elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, elf_backend_plt_readonly, elf_backend_want_plt_sym, elf_backend_got_header_size, elf_backend_plt_header_size): Define. * reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT, BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC): New relocs. * bfd-in2.h, libbfd.h: Rebuilt.
2000-09-01(elf_i386_finish_dynamic_symbol): Remove unnecessary check added 2000-08-27.Alan Modra2-3/+6
2000-08-31 * elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flagsJoern Rennecke2-1/+7
not initialized, set them to indicate the SH1 instruction set.
2000-08-31* acinclude.m4: Include libtool and gettext macros from theAlexandre Oliva4-1106/+905
top level. * aclocal.m4, configure: Rebuilt.
2000-08-302000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder7-68/+298
* elf.c: Eliminate references to __sparcv9 macro; replace with autoconf variables HAVE_PSINFO32_T etc. * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T, HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO. * config.in: Ditto. * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can detect the above typedefs. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto. * aclocal.m4: Ditto. * configure: Regenerate.
2000-08-27Reclaim reloc space for symbols that have been forced local.Alan Modra2-43/+63
2000-08-24Allow common symbols to have an alignment of 1 if explicitly requested, andNick Clifton2-1/+10
not overridden by other definitions.
2000-08-22Fix bugs detecting w65 architecture.Nick Clifton3-4/+15