aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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
1998-08-14* aoutx.h (aout_link_input_section_ext): Use the relocation alreadyStan Cox1-0/+32
calculated for RELOC_SPARC_REV32 case.
1998-08-12Wed Aug 12 19:00:39 1998 Geoff Keating <geoffk@ozemail.com.au>Ian Lance Taylor1-0/+6
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Generate PLT entries unless the symbol is defined in the executable; in particular, undefined weak symbols get a PLT entry.
1998-08-12 * libaout.h: Remove nested comment to avoid warning.Ian Lance Taylor1-4/+15
1998-08-12sanitize-vr5400 -> sanitize-cygnus, for 98r2Ken Raeburn1-1/+1
1998-08-12sanitize-vr5400 -> sanitize-cygnusKen Raeburn5-110/+185
1998-08-11 * elf32-arm.c (elf32_arm_final_link_relocate): Remove unusedCatherine Moore2-28/+88
argument is_local. Add argument sym_flags. Check sym_flags in R_ARM_ABS32 case. Include addend for R_ARM_THM_PC22 case. (elf32_arm_relocate_section): Don't pass local sym and pass sym_flags to elf32_arm_final_link_relocate.
1998-08-11 * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Correct last changeRichard Henderson1-0/+13
to not count too few relocs for dynamicly linked executables.
1998-08-10 * elflink.h (elf_gc_common_finalize_got_offsets): For backendsRichard Henderson2-1/+14
that use a .got.plt section start the got offset at zero.
1998-08-10 * ieee.c (ieee_write_processor): Correct the processor ID writtenIan Lance Taylor1-0/+5
out for bfd_arch_m68k, accommodating change of March 25.
1998-08-10* elf32-arm.c (elf32_arm_final_link_relocate): ReworkCatherine Moore1-0/+7
R_ARM_THM_RPC22 relocations.
1998-08-08 * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Undef weak symbolsRichard Henderson2-188/+229
are always dynamic. (elf64_alpha_calc_dynrel_sizes): Allow enough room for RELATIVE .got relocs in -Bsymbolic shared objects.
1998-08-07Add armelf sanitization.Catherine Moore1-0/+2
1998-08-05Add ARM ELF private flagsNick Clifton2-4/+229
1998-08-04fixed armelf sanitizationNick Clifton1-0/+8
1998-08-04 * elf32-sparc.c (elf32_sparc_check_relocs): Permit WPLT30 againstIan Lance Taylor1-0/+6
a local symbol. (elf32_sparc_relocate_section): Likewise.
1998-08-02Remove elf32-arm.c from armelf_files.Catherine Moore1-1/+1
1998-08-02add armelf.Catherine Moore1-0/+28
1998-08-02 * elf32-ppc.c (ppc_elf_check_relocs): Init sgot to NULL. Create theRichard Henderson1-0/+7
.got if any relocation referrs to _GLOBAL_OFFSET_TABLE_. (ppc_elf_relocate_section): Pull sgot and splt search to the start of the function. Recognize no .plt as static linking.