aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1998-11-05Added support for FR30Nick Clifton11-961/+1253
1998-11-02Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer3-305/+1144
* configure.in: detect cygwin* instead of cygwin32* * configure: regenerate
1998-11-02 * elf-m10300.c (mn10300_elf_relax_section): Do not use alloca,Jeff Law1-0/+5
use bfd_malloc and free instead and check return value from bfd_malloc.
1998-11-01 * libbfd-in.h (_bfd_dwarf1_find_nearest_line): Declare.Ian Lance Taylor2-2/+29
* libbfd.h: Rebuild.
1998-11-01Sun Nov 1 12:46:53 1998 Geoff Keating <geoffk@ozemail.com.au>Ian Lance Taylor1-0/+6
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Allocate two slots for later PLT entries in large PLTs. (ppc_elf_finish_dynamic_symbol): Allow for the extra slots.
1998-11-01 * elf32-ppc.c (ppc_elf_reload_section): Fix typo.Jeff Law2-10/+13
1998-10-27Fix comment.Nick Clifton1-1/+14
1998-10-271998-10-26 15:58 Ulrich Drepper <drepper@cygnus.com>Ulrich Drepper1-18/+40
* elf-bfd.h (struct elf_link_hash_entry): Add new field elf_hash_value. * elflink.h (elf_collect_hash_codes): New function. This function is called for each exported symbol and we compute the ELF hash value for it. (compute_bucket_value): New function. It is called from size_dynamic_sections to determine the hash table size. When we are optimizing a better, but slower, algorithm is used. (size_dynamic_sections): Call compute_bucket_value. * elf.c (bfd_elf_hash): Optimize the hash function a bit.
1998-10-27(elf_collect_hash_codes): New function. This function is called forUlrich Drepper1-30/+198
each exported symbol and we compute the ELF hash value for it. (compute_bucket_value): New function. It is called from size_dynamic_sections to determine the hash table size. When we are optimizing a better, but slower, algorithm is used. (size_dynamic_sections): Call compute_bucket_value.
1998-10-27(bfd_elf_hash): Optimize the hash function a bit.Ulrich Drepper1-66/+515
1998-10-27(struct elf_link_hash_entry): Add new field elf_hash_value.Ulrich Drepper1-4/+21
1998-10-19 * acinclude.m4: undo previous gettext changeFelix Lee1-0/+5
* aclocal.m4: rebuild with right version of aclocal.
1998-10-19bfd:Felix Lee4-110/+874
* acinclude.m4, aclocal.m4: move gettext-related fragments from aclocal.m4 to acinclude.m4, so they don't get lost. * elfcore.h: rewrite for better corefile support. * elf.c (elfcore_*): new functions. * elf-bfd.h (elf_obj_tdata): new structure members. * acconfig.h, acinclude.m4, configure.in: add feature-tests for flavor of procfs. * aclocal.m4, config.in, configure, Makefile.in: regenerated. include: * common.h (NT_PSTATUS, NT_FPREGS, NT_PSINFO, NT_LWPSTATUS,NT_LWPSINFO): added. * internal.h (Elf_Internal_Note): new structure members.
1998-10-16 * elf32-m32r.c: Add HOWTO entries for R_M32R_GNU_VTINHERITCatherine Moore1-0/+12
and R_M32R_GNU_VTENTRY. (elf_backend_can_gc_sections): Define. (m32r_elf_check_relocs): New. (m32r_elf_gc_mark_hook): New. (m32r_elf_gc_sweep_hook): New. (m32r_elf_relocate_section): Handle VT relocs.
1998-10-12Fix fise of R_M32R_18_PCREL relocation.Nick Clifton1-0/+6
1998-10-12Cope with missing hi or lo relocs.Nick Clifton1-0/+15
1998-10-06add dwarf1.cGavin Romig-Koch1-0/+1
1998-10-05 * som.c (som_finish_writing): Perform some sanity checks whenJeff Law1-0/+5
writing an executable or shared library. 17075
1998-10-05 * dwarf1.c : New file. Adds _bfd_dwarf1_find_nearest_line.Gavin Romig-Koch2-0/+589
* configure.in (elf): Add dwarf1.lo. * elf_bfd.h (elf_ob_tdata): Add dwarf1_find_line_info. * elf.c (_bfd_elf_find_nearest_line): Add call to _bfd_dwarf1_find_nearest_line. * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add call to _bfd_dwarf1_find_nearest_line. * configure: Rebuilt.
1998-10-05elflink.h (elf_gc_sections): Do not allow garbageCatherine Moore2-1/+7
collection if dynamic sections have been created. : ----------------------------------------------------------------------
1998-10-05 * elf32-v850.c: Add HOWTO entries for R_V850_GNU_VTINHERIT andCatherine Moore1-0/+12
R_V850_GNU_VTENTRY. (v850_elf_check_relocs): Handle VTINHERIT and VTENTRY relocs. (v850_elf_perform_relocation): Likewise. (v850_elf_final_link_relocate): Likewise. (v850_elf_relocate_section): Likewise. (v850_elf_gc_sweep_hook): New routine. (v850_elf_gc_mark_hook): New routine. (elf_backend_can_gc_sections): Define.
1998-10-05 * elf32-m68k.c (elf_m68k_gc_sweep_hook): Don't assumeCatherine Moore1-0/+5
that dynobj exists.
1998-10-05Sun Oct 4 23:29:34 1998 David Edelsohn <edelsohn@mhpcc.edu>Ian Lance Taylor1-0/+6
* rs6000-core.c (rs6000coff_core_file_matches_executable_p): Declare size as bfd_size_type. (rs6000coff_get_section_contents): Declare count as bfd_size_type.
1998-10-05 * elflink.h (elf_link_add_object_symbols): When a versioned symbolIan Lance Taylor2-2/+13
has a base which is already defined, only add the referenced symbol to the dynamic symbol table if it is defined or referenced by a regular file.
1998-10-05 * cpu-hppa.c (bfd_hppa20_arch): Define. Link it into the bfd_hppa_archJeff Law2-3/+20
structure. * som.c (CPU_PA_RISC2_0): Define. (_PA_RISC2_0_ID): Likewise. (som_finish_writing): Use CPU_PA_RISC2_0 for the system_id as needed. PA2.0 infrastructure.
1998-10-05 * elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocsIan Lance Taylor1-0/+9
correctly.
1998-09-291998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>Richard Henderson1-5/+0
* elflink.h (elf_link_add_object_symbols): Undo last change.
1998-09-23 * elflink.h (elf_link_add_object_symbols): Don't record a dynamicRichard Henderson2-0/+10
symbol for the indirect alias to a versioned symbol.
1998-09-21 * elf32-i386.c (elf32_i386_vtinherit_howto): New.Catherine Moore1-0/+7
(elf32_i386_vtentry_howto): New. (elf_i386_reloc_type_lookup): Return elf32_i386_vtentry_howto or elf32_i386_vtinherit_howto on lookup.
1998-09-20Sun Sep 20 00:48:07 1998 Andreas Schwab ↵Ian Lance Taylor1-0/+7
<schwab@issan.informatik.uni-dortmund.de> * elf32-m68k.c: Include "elf/m68k.h". Remove definition of enum reloc_type. Rename R_68K__max to R_68K_max. (howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY reloc.
1998-09-20Sun Sep 20 00:09:25 1998 Chris Torek <torek@bsdi.com>Ian Lance Taylor1-2/+5
* libbfd.c (bfd_getb32): Rewrite expression to get better code. (bfd_getl32, bfd_getb_signed_32, bfd_getl_signed_32): Likewise.
1998-09-20 * libbfd.c (bfd_log2): Cast to bfd_vma before shifting, notIan Lance Taylor2-34/+50
after. From Chris Torek <torek@bsdi.com>.
1998-09-20Sat Sep 19 22:42:23 1998 Doug Rabson <dfr@nlsystems.com>Ian Lance Taylor2-1/+8
* elflink.h (elf_link_add_object_symbols): Ensure that the warning message has a null byte terminator.
1998-09-18Fic PR17107 - ignore contents of word subject to R_V850_32 relocation.Nick Clifton1-0/+5
1998-09-18Always treat section symbols as special, even if they are attached to aNick Clifton1-0/+5
common section.
1998-09-18Add comment about problem computing nearets line numbers for undefinedNick Clifton1-0/+5
symbols at link time.
1998-09-17 * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don'tRichard Henderson1-0/+18
transform a defweak into a plt entry. (elf64_alpha_calc_dynrel_sizes): Allow room for secondary plt entry references to receive a RELATIVE reloc. (elf64_alpha_finish_dynamic_symbol): Fill them in. (elf64_alpha_relocate_section): Assert we don't overrun the allocated relocation space.
1998-09-16get rid of print statement in elf32_arm_gc_mark_hook.Catherine Moore1-0/+5
1998-09-151998-09-15 Geoff Keating <geoffk@ozemail.com.au>Vladimir Makarov1-0/+7
* elf32-ppc.c (ppc_elf_relocate_section): Reverse output_offset part of Vladimir's change of 1998-08-19. Make a R_PPC_SDAREL16 reloc to the wrong section a warning, not an error. .dynsbss is not an output section, so there is no need to check for it.
1998-09-15Fix changeLOg entry. Add argument to elf_backend_get_symbol_type.Catherine Moore1-3/+5
1998-09-15 * bfd-in.h: Add argument to elf_backend_get_symbol_type.Catherine Moore2-5/+177
* bfd-in2.h: Rebuild. * elf.c (swap_out_syms): Pass type to elf_backend_get_symbol_type. * elf32-arm.c: Add HOWTO entries for R_ARM_GNU_VTINHERIT and R_ARM_GNU_VTENTRY. (elf32_arm_gc_mark_hook): New. (elf32_arm_gc_sweep_hook): New. (elf32_arm_check_relocs): New. (elf32_arm_final_link_relocate): Handle VTINHERIT and VTENTRY relocations. (elf32_arm_relocate_section): Handle VTINHERIT and VTENTRY relocations.
1998-09-111998-09-10 Geoff Keating <geoffk@ozemail.com.au>Richard Henderson2-80/+102
* elf32-ppc.c (ppc_elf_relocate_section): If dynobj is NULL, assume there is no PLT or GOT.
1998-09-09fix linker testsuite failureNick Clifton2-10/+109
1998-09-07 * rs6000-core.c (_LONG_LONG): Define for AIX 4.x only.Peter Schauer1-0/+4
1998-09-06 * libbfd-in.h (_bfd_nolink_bfd_gc_sections): Correct definition toIan Lance Taylor1-0/+6
match definition of _bfd_gc_sections field. * libbfd.h: Rebuild.
1998-09-04Fri Sep 4 13:54:23 1998 David Miller <davem@dm.cobaltmicro.com>Richard Henderson1-0/+7
* elf32-sparc.c (elf32_sparc_relocate_section): Properly adjust the addend of a dynamic relocation referencing a section. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. (sparc64_elf_finish_dynamic_symbol): Fix the PLT relocation offset.
1998-09-04 * elflink.h (bfd_elfNN_size_dynamic_sections): Verify that theRichard Henderson2-1/+7
bed has a size_dynamic_sections routine before trying to use it.
1998-09-02Thu Aug 20 11:30:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-19/+27
* elf.c: comment and formatting cleanups. * elfcore.h: ditto.
1998-08-31 * elf32-mips.c (elf_mips_gnu_vtentry_howto): UseRichard Henderson1-0/+5
_bfd_elf_rel_vtable_reloc_fn.
1998-08-31 * Makefile.am: Add elf32-arm.c.Catherine Moore4-35/+48
* Makefile.in: Rebuild. * elf-bfd.h: Add elf_backend_get_symbol_type. * elf.c (swap_out_syms): If defined, call elf_backend_get_symbol_type. * elf32-arm.c: Define elf_backend_get_symbol_type. (elf32_arm_get_symbol-type): New routine. (record_thumb_to_arm_glue): Change to use STT_ARM_TFUNC. (bfd_elf32_arm_process_before_allocation): Change to check for STT_ARM_TFUNC. (elf32_arm_final_link_relocate): Likewise. * elfxx-target.h: Add elf_backend_get_symbol_type.