summaryrefslogtreecommitdiffstats
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in last change.Jeff Law1995-06-181-1/+1
|
* * elf32-hppa.c (elf32_hppa_size_stubs): Set the size of the stubJeff Law1995-06-182-0/+7
| | | | section if we get an error.
* * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Don't messJeff Law1995-06-172-2/+12
| | | | | with the operands of an R_PARISC_DPREL21L relocation if the insn is not "addil <symbol>,%r27".
* * bfd-in.h (NT_subsystem, NT_stack_heap): Declare but don'tStan Shebs1995-06-162-8/+10
| | | | | | define. * bfd-in2.h: Rebuilt. * bfd.c (NT_subsystem, NT_stack_heap): Define.
* * elf32-hppa.c (elf32_hppa_bfd_link_link_relocate): Use the rightJeff Law1995-06-162-9/+32
| | | | | type field (there are two!) when checking to see if $global$ is defined.
* * bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_falseStan Shebs1995-06-156-24/+78
| | | | | | | | | | | | to bfd_tttrue, bfd_fffalse so as not to conflict with functions. * coffswap.h (coff_swap_scnhdr_out): Remove version that was hacked for MPW C. * mpw-config.in: Set shell vars instead of pasting to makefile for each configuration, edit coffswap.h to make MPW C not choke. (i386-unknown-coff, sh-hitachi-hms): Recognize. * mpw-make.in (BFD_LIBS): Add versados.c.o. * versados.c (versados_scan): Properly cast results from bfd_alloc.
* * cofflink.c (process_embedded_commands): New functionSteve Chamberlain1995-06-141-17/+351
| | | | | reads and handles .drectve sections for PE. (coff_link_input_bfd): Call new function if PE.
* * bfd-in.h (bfd_set_section_vma): Case true to a boolean.Jeff Law1995-06-121-0/+6
| | | | | (bfd_set_cacheable): Likewise. * bfd-in2.h: Rebuilt.
* * targets.c: Add copy_private_symbol_data and link_split_sectionJeff Law1995-06-105-22/+52
| | | | | | | | | | | | | | | | | | to the target vector. * libbfd-in.h (_bfd_generic_bfd_copy_private_symbol_data): Define. (_bfd_nolink_bfd_link_split_section): Likewise. (bfd_generic_link_split_section): Declare. * syms.c (bfd_copy_private_symbol_data): Define. * linker.c (bf_link_split_section): Likewise. * som.c (som_bfd_copy_private_symbol_data): New function (som_bfd_link_split_section): Likewise. * All other targets updated with default versions of new routines. * Take out my braindamaged bfd_true/bfd_false changes from earlier today. Replace with just: * bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if compiling with g++-2.6 or later. * bfd-in2.h: Rebuilt.
* * bfd-in.h (bfd_true, bfd_false): Define these to true and falseJeff Law1995-06-093-0/+8
| | | | | if TRUE_FALSE_ALREADY_DEFINED is not defined. * bfd-in2.h: Rebuilt.
* * elfcode.h (elf_sort_hdrs): Rewrite to be symmetrical.Steve Chamberlain1995-06-092-13/+19
|
* * bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this ifJeff Law1995-06-093-30/+222
| | | | | | | | | | compiling with g++-2.6 or later. (bfd_set_section_vma): Use bfd_true and bfd_false rather than true and false. (bfd_set_section_alignment): Likewise. (bfd_set_section_userdata): Likewise. (bfd_set_cacheable): Likewise. * bfd-in2.h: Rebuilt.
* * versados.c (struct esd, get_4): Lint; use unsigned chars.Steve Chamberlain1995-06-092-0/+846
|
* * coff-i960.c (coff_i960_relocate): Compare output section namesSteve Chamberlain1995-06-091-0/+5
| | | | when converting for vxworks.
* * elfcode.h (elf_fake_sections): Permit .scommon or COMMON sections as randomKen Raeburn1995-06-082-78/+250
| | | | SHT_NOBITS sections, in case a linker script is strange.
* * coff-a29k.c (coff_a29k_adjust_symndx): Completely parenthesizeSteve Chamberlain1995-06-051-1/+1
| | | | macro. (pr ld/7127)
* Linker support for m68k-elf from Andreas SchwabKen Raeburn1995-06-051-0/+10
| | | | | | | | | | | | <schwab@issan.informatik.uni-dortmund.de>: * elfcode.h (elf_link_add_object_symbols): Check for NULL when looping through the symbol hashes. (elf_bfd_final_link): When looking for _init and _fini don't use the symbol if it is imported from another object. * elf32-m68k.c: Relocation type changed from REL to RELA. Regular and dynamic linking support functions added, similar to other elf targets.
* change i386-gnu to elfKen Raeburn1995-06-051-0/+4
|
* *** empty log message ***Steve Chamberlain1995-06-032-0/+9
|
* Thu Jun 1 13:51:49 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1995-06-011-0/+6
| | | | | | * coffcode.h (sec_to_styp_flags, styp_to_sec_flags, coff_new_section_hook): Any section that starts ".stab" is now marked as debugging.
* * archive.c (_bfd_write_archive_contents): Disable extended name table until itKen Raeburn1995-06-011-0/+4
| | | | | can be made optional, so that native AR has half a chance on SunOS and HP/UX. [PR binutils/6888]
* * linker.c (_bfd_generic_link_output_symbols, case bfd_link_hash_indirect): AddKen Raeburn1995-06-011-0/+13
| | | | cast to correct pointer types.
* Wed May 24 10:52:01 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1995-05-242-0/+36
| | | | | | | | | | | | | | | pr ld/6997 * elf32-i386.c (elf_i386_relocate_section): Give error message when linking to a shared reloc which isn't there. Wed May 24 10:40:00 1995 Steve Chamberlain <sac@slash.cygnus.com> Support for ARM-PE. * Makefile.in, coffcode.h, config.bfd, configure.in, pe-arm.c, pei-arm.c, reloc.c, targets.c, config/arm-pe.mt: Support for ARM COFF/PE.
* Make linking mips-elf and mips-ecoff work. At least, better than it did.Ken Raeburn1995-05-232-10/+324
| | | | | | | | | | | | | | | | | | * bfd.c (bfd_get_relocated_section_contents): Now a function, tries calling routine from input bfd target vector for bfd_indirect_link_order. Put a declaration into the header file. * bfd-in2.h: Regenerated. * elf32-mips.c (gprel16_with_gp): New function, split out from mips_elf_gprel16_reloc. (mips_elf_gprel16_reloc): Call it. If output bfd target vector isn't elf flavoured, abort, since it's assumed to be elf in some of this code, including the code that looks up the gp value. (elf32_mips_get_relocated_section_contents): New function, modified from bfd_generic_get_relocated_section_contents to deal with passing gp to gprel16_with_gp. (bfd_elf32_bfd_get_relocated_section_contents): New macro. * elf32-target.h (bfd_elf32_bfd_get_relocated_section_contents): Don't define if already defined.
* * Makefile.in: Install bfdlink.h too.Jeff Law1995-05-231-0/+12
|
* * coffswap.h: (IMAGE_BASE): Define to 0 if not.Steve Chamberlain1995-05-191-0/+4
|
* Bunch of changes from Richard Earnshaw for generic bi-endian ARM aout targets.Ken Raeburn1995-05-182-0/+35
| | | | Details in change logs.
* * libbfd.c (bfd_stat): If bfd_cache_lookup returns an error,Jim Kingdon1995-05-181-0/+10
| | | | return an error to the caller. Call bfd_set_error on errors.
* Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1995-05-133-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tekhex.c (first_phase): Understand type 0 symbols. (tekhex_write_object_contents): Fix typo in final record. Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com> pr ld/6840 * coff-i960.c (optcall_callback): don't try and optimize undefined refs. (coff_write_relocs): Search for broken relocs on the way out and fix them up. (coff_renumber_symbols): Calculate and return index of first undefined symbol. (coff_write_object_contents): Call coff_renumber_symbols and coff_write_relocs with the new args. * libcoff.h: (coff_renumber_symbols, coff_renumber_symbols): Modified prototypes. Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com> Tom Griest <griest@cs.yale.edu> Initial support for PE format. * Makefile.in, targets.c, configure.in, config.bfd: Add support for i386-*-winnt and i386-*-pe. * archive.c (do_slurp_coff_armap): Understand NTPE format archives. (_bfd_slurp_extended_name_table): Turn \ in a filename into /. * bfd-in.h (bfd_link_subsystem, _bfd_link_stack_heap): New. * coff-i386.c (howto_table): Conditionalize PCRELOFFSET. * coffcode.h (IMAGE_BASE): New. (coff_compute_section_file_positions): Throw away .junk sections for PE, align symbols. (coff_write_object_contents): Throw away .junk sections for PE. Remember info on .idata and .rsrc sections. Fill in the PE header. (coff_slurp_symbol_table): PE uses C_SECTION class. * cofflink.c (_bfd_coff_final_link): Keep PE info up to date. (_bfd_coff_generic_relocate_section): Cope with PE relocs. * coffswap.h (coff_swap_{aout/file/scn/sym}hdr_{in/out}): New code for PE headers.
* Add little endian PowerPC support.Michael Meissner1995-05-094-8/+53
|
* * hosts/std-host.h: #include ansidecl.h 'cause PTR is used inJason Molenda1995-04-252-0/+11
| | | | std-host.h.
* Provide escape hatch for HAVE_PROCFS being defined.Michael Meissner1995-04-242-0/+8
|
* Do not continue processing unknown symbols.Michael Meissner1995-04-241-0/+5
|
* Patches from H.J. Lu for Linux ELF core file support.Ken Raeburn1995-04-212-0/+27
| | | | | | * elfcode.h (elf_core_file_matches_executable_p) [HAVE_PROCFS]: Use prpsinfo_t instead of struct prpsinfo, for consistency. * hosts/i386linux.h (HAVE_PROCFS): Define.
* Thu Apr 20 09:07:39 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1995-04-201-0/+37
| | | | | * linker.c (link_action): Do the right thing when a undefined strong symbol appears after an undefined weak symbol.
* * config.bfd: Add m68*-*-elf*.Ken Raeburn1995-04-141-0/+15
| | | | | | | * elf32-m68k.c: Filled out implementation, except for dynamic linking support. * reloc.c (enum bfd_reloc_code_real): Added *_GOT_PCREL, *_GOTOFF, *_PLT_PCREL, *_PLTOFF, *_68K_* relocations for ELF. * libbfd.h, bfd-in2.h: Regenerated.
* * aoutx.h (machine_type, case bfd_arch_mips): Treat R8000 like R6000 and R4000Ken Raeburn1995-04-121-0/+20
| | | | for now.
* Always keep all MPW support filesStan Shebs1995-04-042-35/+3
|
* No longer need MPW-only historyStan Shebs1995-04-041-81/+0
|
* Thu Mar 30 14:32:26 1995 H.J. Lu (hjl@nynexst.com)Ian Lance Taylor1995-03-301-0/+9
| | | | | | | | | * config.bfd: Change linux to default to elf. Using i[345]86-*-linuxaout will build a library which defaults to a.out. * config/i386-laout.mt: Rename from old config/i386-linux.mt. * config/i386-linux.mt: Rename from old config/i386-lelf.mt. Comment out EXTRALIBS. * config/i386-lelf.mt: Remove.
* * coff-i960.c (coff_i960_relocate): Cache the section symbol inIan Lance Taylor1995-03-291-0/+4
| | | | | | the used_by_bfd field of the section, to avoid looping for each reloc. PR 6638.
* * cpu-h8500.c (arch_info_struct): Change name from "H8/300" toIan Lance Taylor1995-03-291-0/+5
| | | | "h8300" for consistency with other cpu-* files.
* Add entry I forgot to commit:Jeff Law1995-03-281-0/+7
| | | | | | | * som.c (som_set_reloc_info): Sign extend constants from R_DATA_OVERRIDE fixups. * libhppa.h (sign_extend): Renamed from sign_ext. Fix. (low_sign_extend): Likewise.
* * bout.c (b_out_canonicalize_reloc): Handle SEC_CONSTRUCTORIan Lance Taylor1995-03-281-0/+4
| | | | | sections. (b_out_get_reloc_upper_bound): Likewise.
* * linker.c (generic_link_add_symbol_list): Skip constructorIan Lance Taylor1995-03-281-0/+14
| | | | | | | | | symbols which the main linker code did not do anything with. (_bfd_generic_link_output_symbols): Use udata.p if it is set, rather than looking the symbol up in the hash table. Just pass through constructor symbols for which udata.p is not set. If the linker defined the symbol, clear the constructor flag. Fix -r for b.out file format when constructor symbols are defined.
* * som.c (som_slurp_symbol_table): Tighten test to determineJeff Law1995-03-211-3/+5
| | | | what symbols are section symbols.
* * elfcode.h (elf_bfd_link_add_symbols): An empty archive is OK.Ian Lance Taylor1995-03-181-0/+10
|
* * elfcode.h (elf_link_add_object_symbols): Check whether a dynamicIan Lance Taylor1995-03-171-0/+13
| | | | object has already been included, and ignore it the second time.
* * libelf.h (bfd_elf32__write_relocs): Don't declare.Ian Lance Taylor1995-03-151-2/+0
| | | | (bfd_elf64__write_relocs): Don't declare.
* stab-syms.c: Rewrite to improve performance. Shaves about 5% off gprof runKen Raeburn1995-03-141-0/+7
| | | | time, according to gprof itself, on i486-netbsd.
OpenPOWER on IntegriCloud