summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* Add --srec-len and --srec-forceS3 switches to objcopyNick Clifton2000-11-032-14/+34
|
* Add support for *-storm-chaos targetNick Clifton2000-11-025-334/+354
|
* 2000-10-31 Philip Blundell <philb@gnu.org>Phil Blundell2000-11-012-0/+7
| | | | | * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle EF_SOFT_FLOAT if it is defined.
* 2000-10-27 Philip Blundell <philb@gnu.org>Phil Blundell2000-10-272-24/+43
| | | | | | | | | * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse attempts to mix PIC code with non-PIC, just mark the output as being position dependent. (elf32_arm_merge_private_bfd_data): Likewise. Print an error message for EF_SOFT_FLOAT mismatches. Display diagnostics for all mismatches, not just the first one.
* Plug one of many possible memory leaks in error handling.Nick Clifton2000-10-252-29/+29
|
* gas/Jakub Jelinek2000-10-206-43/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p instructions to loose any special insn->architecture mask. * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs. (sparc_md_end, sparc_arch_types, sparc_arch, sparc_elf_final_processing): Handle v8plusb and v9b architectures. (sparc_ip): Handle siam mode operands. Support v9b ASRs (and request v9b architecture if they are used). bfd/ * elf32-sparc.c (elf32_sparc_merge_private_bfd_data, elf32_sparc_object_p, elf32_sparc_final_write_processing): Support v8plusb. * elf64-sparc.c (sparc64_elf_merge_private_bfd_data, sparc64_elf_object_p): Support v9b. * archures.c: Declare v8plusb and v9b machines. * bfd-in2.h: Ditto. * cpu-sparc.c: Ditto. include/opcode/ * sparc.h (enum sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_V9B. Note that '3' is used for siam operand. opcodes/ * sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs. (compute_arch_mask): Add v8plusb and v9b machines. (print_insn_sparc): siam mode decoding, accept ASRs up to 25. * opcodes/sparc-opc.c: Support for Cheetah instruction set. (prefetch_table): Add #invalidate.
* * elf64-sparc.c (sparc64_elf_relocate_section): Clear the locationGeoffrey Keating2000-10-162-1/+12
| | | | of a GOT reloc.
* * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): New macro.Geoffrey Keating2000-10-162-29/+51
| | | | | | | | | | | (SYMBOL_CALLS_LOCAL): New macro. (ppc_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL. (ppc_elf_check_relocs): Use SYMBOL_REFERENCES_LOCAL. (ppc_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL. (ppc_elf_relocate_section): Use flag variable to determine whether the relocation refers to a local symbol. Test whether a PLTREL24 reloc will produce a reloc by looking to see whether a PLT entry was made.
* * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make PLTGeoffrey Keating2000-10-142-1/+14
| | | | entries that could serve as a definition for a weak symbol.
* 2000-10-13 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson2000-10-142-8/+18
| | | | | | | | | From Ralf Baechle <ralf@gnu.org> * elf32-mips.c (mips_elf_create_dynamic_relocation): New argument local_p. Add symbol value only for non-R_MIPS_REL32 relocations against local symbols. (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
* Another try at correcting relocations against discardedAlan Modra2000-10-124-19/+57
| | | | link-once section symbols.
* Include alloca-conf.hAlan Modra2000-10-122-0/+5
|
* Revert 2000-10-07 link-once section symbol changes.Alan Modra2000-10-112-6/+8
|
* Fix my last change to actually compile.Alan Modra2000-10-102-1/+5
|
* (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.Alan Modra2000-10-102-1/+5
|
* * section.c (bfd_make_section_anyway): Release newsect ptr whenAlan Modra2000-10-102-2/+10
| | | | newsect->symbol fails to alloc. Use bfd_release instead of free.
* * elf64-ia64.c (elf64_ia64_unwind_entry_compare_bfd): New.Richard Henderson2000-10-092-1/+54
| | | | | (elf64_ia64_unwind_entry_compare): New. (elf64_ia64_final_link): Sort the .IA_64.unwind section.
* Cure a number of segfaults caused by /DISCARD/ of dynamic sections.Alan Modra2000-10-072-21/+44
|
* Make elf section symbols global for link-once sections.Alan Modra2000-10-072-3/+9
|
* * peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocsDJ Delorie2000-10-063-3/+64
| | | | | | * coffcode.h (coff_set_alignment_hook): read extended reloc count (coff_write_relocs): write extended reloc count (coff_write_object_contents): account for extended relocs
* Preserve machine dependent section header flags when reading ELF object file.Jim Wilson2000-10-055-1/+45
| | | | | | | | | | | | | | * elf-bfd.h (struct elf_backend_data): Add elf_backend_section_flags field. * elf.c (_bfd_elf_make_section_from_shdr): Call the elf_backend_section_flags function. * elf64-ia64.c (elf64_ia64_section_from_shdr): Delete flag conversion code. (elf64_ia64_section_flags): New function containing flag conversion code. (elf_backend_section_flags): Define to elf64_ia64_section_flags. * elfxx-target.h (elf_backend_section_flags): Define. (elfNN_bed): Initialize elf_backend_section_flags field.
* Correct call to _bfd_elf32_gc_record_vtable.Alan Modra2000-10-022-7/+11
|
* 2000-10-01 Ulf Carlsson <ulfc@engr.sgi.com>Ulf Carlsson2000-10-022-1/+10
| | | | | | | | | From Ralf Baechle <ralf@gnu.org> * elf32-mips.c (_bfd_mips_elf_finish_dynamic_sections): Mark gld produces binaries with got[1] = 0x80000001 to differenciate them for the dynamic linker from the broken binaries produced by old versions.
* * ltconfig, ltmain.sh, libtool.m4: Updated from libtoolAlexandre Oliva2000-09-301-304/+294
| | | | | multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt all affected `configure' scripts.
* Support for Unixware 7.1.x pxstatus_t and lwpxstatus_t.Alan Modra2000-09-304-41/+130
|
* Define two bfd_targets for absence and presence of leadingHans-Peter Nilsson2000-09-297-193/+335
| | | | | | | | | | | | | | | | | | | | | | underscore on symbols. Make sure to only link same kind. * elf32-cris.c (cris_elf_object_p, cris_elf_final_write_processing, cris_elf_print_private_bfd_data, cris_elf_merge_private_bfd_data): New. (elf_backend_object_p, elf_backend_final_write_processing, bfd_elf32_bfd_print_private_bfd_data, bfd_elf32_bfd_merge_private_bfd_data): Define. <Target vector definition>: Include elf32-target.h twice with different macro settings: (TARGET_LITTLE_SYM): First as bfd_elf32_cris_vec, then as bfd_elf32_us_cris_vec. (TARGET_LITTLE_NAME): First as "elf32-cris", then "elf32-us-cris". (elf_symbol_leading_char): First as 0, then '_'. (INCLUDED_TARGET_FILE): Define for second include of elf32-target.h. * config.bfd (cris-*-*): Add bfd_elf32_us_cris_vec to targ_selvecs. * configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vector. * configure: Regenerate. * targets.c: Declare bfd_elf32_us_cris_vec. * po/bfd.pot: Regenerate.
* (arm_add_to_rel): Fix R_ARM_THM_PC22 relocations.Alan Modra2000-09-292-66/+94
|
* * elflink.h (elf_link_add_object_symbols): Don't bfd_release runpath.Alan Modra2000-09-292-12/+8
|
* That'll teach me not to type little patches in by hand. GetAlan Modra2000-09-291-1/+1
| | | | the parentheses right.
* (elf_fake_sections): Do not mark the section SHT_NOBITS ifAlan Modra2000-09-292-8/+7
| | | | is has the SEC_HAS_CONTENTS flag set.
* * aout-cris.c (N_TXTADDR): Define.Hans-Peter Nilsson2000-09-282-0/+16
|
* * som.c: Include alloca-conf.hAlan Modra2000-09-285-16/+23
|
* .plt stub for lazy linking, --stub-group-size=N ld switch,Alan Modra2000-09-274-84/+215
| | | | import stub fix, extra DIR14F reloc to fix abort in tc_gen_reloc
* * elfcode.h (elf_object_p): Preserve and clear abfd sectionHans-Peter Nilsson2000-09-272-0/+14
| | | | information. Restore at error.
* * peigen.c (_bfd_pei_swap_aouthdr_in): If some DataDirectoryDJ Delorie2000-09-262-7/+27
| | | | | is empty, make sure that its rva also 0. NT loader dislikes having otherwise.
* Make weak symbols SS_UNIVERSAL (ie. global)Alan Modra2000-09-262-1/+7
|
* Correct comments. Don't check non-code output sections for stubAlan Modra2000-09-212-23/+50
| | | | | grouping. (In the process, partly revert and fix bugs introduced with the last change. Oops.)
* Fix a segfault caused by under-allocating an array.Alan Modra2000-09-212-18/+24
|
* Handle out of memory situations.Alan Modra2000-09-202-0/+7
|
* Change the PLT entry 0 instruction sequence to actually work.Nick Clifton2000-09-192-4/+11
|
* * elf32-sh.c (sh_elf_relocate_section): UseAlexandre Oliva2000-09-182-19/+25
| | | | | _bfd_final_link_relocate to apply the relocation against a section symbol, when doing relocatable links.
* Group stub sections.Alan Modra2000-09-183-165/+276
|
* * elf32-sh.c (ELF_MAXPAGESIZE): Define to 128, to matchAlexandre Oliva2000-09-162-1/+6
| | | | ld/emulparams/shelf.sh.
* add support for embedded relocs in m68k ELF portNick Clifton2000-09-159-389/+557
|
* ld performs LITUSE relocations incorrectly if -relax is specified on the ldNick Clifton2000-09-152-10/+26
| | | | | command line and the displacement field of the load or store instruction is non-zero.
* Find the first .init and .fini sections correctly.Alan Modra2000-09-152-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.
* Lots of bug fixes. .plt entries for DT_INIT, DT_FINI, and anyAlan Modra2000-09-142-240/+655
| | | | | local function that has a plabel. Size the stub reloc sections as we size the stubs.
* * elf32-sh.c (sh_elf_howto_table): Moved R_SH_GOT32, R_SH_PLT32,Alexandre Oliva2000-09-142-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.
* Add support for the MIPS32Nick Clifton2000-09-145-2/+19
|
* * som.c (som_write_symbol_strings): Do not used fixed buffers,Jeff Law2000-09-142-25/+68
| | | | | use size_t as a counter. (som_write_space_strings): Similarly.