aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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.
1998-08-29 * archures.c (bfd_mach_alpha_ev[456]): New.Richard Henderson1-0/+6
* cpu-alpha.c: Rework to match these types.
1998-08-29 * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare.Richard Henderson3-38/+138
* elf.c (_bfd_elf_rel_vtable_reloc_fn): New. * elf32-i386.c (elf_howto_table): Add vtable relocs. (elf_i386_reloc_type_lookup): Recognize them. (elf_i386_check_relocs): Pass them off to generic code. (elf_i386_relocate_section): Ignore them. (elf_i386_gc_mark_hook, elf_i386_gc_sweep_hook): New. (elf_backend_can_gc_sections): True.
1998-08-27add elf32-arm.c to things to keepCatherine Moore1-0/+1
1998-08-26remove armelf sanitization.Catherine Moore1-35/+0
1998-08-20Fix seg fault when displaying linker error messageNick Clifton2-20/+35
1998-08-20add configure to list of files to checkIan Lance Taylor1-1/+1
1998-08-20Check whether any sanitized files are mentioned elsewhere.Ian Lance Taylor1-4/+13
1998-08-20Wed Aug 19 15:43:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-41/+134
* elfcode.h (elf_object_p): Reject files of header type ET_CORE (core files are treated differently than object files). * elf-bfd.h (_bfd_elf_write_corefile_contents, bfd_elf_mkcorefile): declare. * elfxx-target.h (_bfd_elf_write_corefile_contents, bfd_elf_mkcorefile): add to bfd_target vector. * elfcore.h (elf_core_file_p): save the program header table, and set the bfd architecture from the elf file header. * elf.c (bfd_elf_mkcorefile): new function. (_bfd_elf_write_corefile_contents): new function. (assign_file_positions_for_segments): add cases for handling PT_NOTE segments. (assign_file_positions_except_relocs): core files should be handled the same as exec files. (prep_headers): identify core files as type ET_CORE. (copy_private_bfd_data): identify the sections belonging to the PT_NOTE segment. * elf32-sparc.c (elf32_sparc_final_write_processing): add break statement to default case.
1998-08-19 * elf32-ppc.c (ppc_elf_relocate_section): Check that outputVladimir Makarov1-0/+8
section (not input) will be in sections ".sbss", ".sbss2", ".sdata", and ".sdata" for R_PPC_SDAREL16, R_PPC_EMB_SDA2REL, R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA. In all these cases also ignore output_offset for correct evaluation of addend. PR16246
1998-08-18 * elf32-arm.c: Add prefix bfd_ to elf32_arm_get_bfd_for_interworking,Catherine Moore2-437/+1318
elf32_arm_allocate_interworking_sections and elf32_arm_process_before_allocation. * bfd-in.h: Ammend prototype for elf32_arm_process_before_allocation to remove surplus third argument. * bfd-in2.h: Regenerate.
1998-08-16 * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols.Richard Henderson1-0/+4