aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
1996-12-05 * elflink.h (elf_link_add_object_symbols): Calling check_relocsIan Lance Taylor3-10/+39
even if SEC_ALLOC is not set. * elf32-i386.c (elf_i386_check_relocs): Don't check SEC_ALLOC when deciding whether to copy a reloc into a shared object. (elf_i386_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. (elf32_sparc_relocate_section): Likewise. * elf32-i386.c (elf_i386_check_relocs): Don't set SEC_ALLOC in a reloc section if it is not set in the source section. * elf32-sparc.c (elf32_sparc_check_relocs): Likewise. * elf.c (bfd_section_from_shdr): Mark a reloc section associated with a SEC_DEBUGGING section as SEC_DEBUGGING. PR 11174.
1996-12-04#if 0 some code that is not used yetMichael Meissner1-1/+10
1996-12-02 * cofflink.c (_bfd_coff_generic_relocate_section): Print an errorIan Lance Taylor1-0/+7
message for bfd_reloc_outofrange, rather than aborting. From Philippe De Muyter <phdm@info.ucl.ac.be>.
1996-12-02 * cofflink.c (_bfd_coff_final_link): If there aren't any relocs inIan Lance Taylor2-7/+25
a relocateable link, don't try to process them. From Heinz Wrobel <wrobel@lpr.e-technik.tu-muenchen.de>.
1996-12-02 * elf32-mn10300.c (mn10300_info_howto): Renamed fromJeff Law2-9/+17
mn10300-Info_howto_rel. Tweak reloc argument to be an Elf32_Internal_Rela. (USE_RELA): Define instead of USE_REL. (elf_info_to_howto, elf_info_howto_rel): Corresponding changes.
1996-12-01 * configure.in, configure: Handle mips*-sgi-irix6*.Peter Schauer1-0/+6
* irix-core.c (irix_core_core_file_p): Accept CORE_MAGICN32 core files.
1996-11-27 * elf32-i386.c (elf_i386_relocate_section): Warn about aIan Lance Taylor1-0/+6
relocation against a symbol defined in a section with no output section. PR 11174.
1996-11-26 * aclocal.m4 (BFD_CC_FOR_BUILD): Don't require AC_C_CROSS.Ian Lance Taylor2-192/+432
* configure, config.in: Rebuild with autoconf 2.12.
1996-11-26 * elf-bfd.h (struct elf_link_hash_entry): Add other field.Ian Lance Taylor2-1/+25
* elf.c (_bfd_elf_link_hash_newfunc): Initialize other field. (swap_out_syms): Set st_other from existing st_other field. * elflink.h (elf_link_add_object_symbols): Store st_other in hash table other field. (elf_link_output_extsym): Set the other field from the global hash table entry. * elf32-mips.c (enum reloc_type): Add R_MIPS16_26. (elf_mips16_jump_howto): New static variable. (mips16_jump_reloc): New static function. (bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS16_JMP. (mips_info_to_howto_rel): Handle R_MIPS16_26. (mips_elf_relocate_section): Handle R_MIPS16_26. Handle R_MIPS_26 to a mips16 symbol. * reloc.c (BFD_RELOC_MIPS16_JMP): Add to list of relocs. * bfd-in2.h, libbfd.h: Rebuild. * cpu-mips.c (arch_info_struct): Add mips:16 entry.
1996-11-26 * configure.host: Use long long for mips-sgi-irix6*.Ian Lance Taylor1-0/+7
1996-11-25 * elf32-mn10300.c (bfd_elf32_mn10300_reloc): New function.Jeff Law2-17/+184
(enum reloc_type): Add more reloc types. (elf32_mn10300_howto_table): Update for new reloc types. (elf32_mn10300_reloc_map): Update for new reloc types. * reloc.c: Add some new relocs for the mn10300 series. * bfd-in2.h, libbfd.h: Rebuilt. Last week's reloc work.
1996-11-23 * som.c (setup_sections): Don't lose for a space which hasJeff Law1-0/+5
no data, but some symbols. binutils/11140
1996-11-22 * sunos.c (struct sunos_link_hash_table): Add got_needed field.Ian Lance Taylor1-0/+17
(sunos_link_hash_table_create): Initialize got_needed. (sunos_create_dynamic_sections): Only set .got section size if it is not already set. Set got_needed. (bfd_sunos_size_dynamic_sections): Check got_needed. Only set sdynptr, and only handle dynamic sections, if dynamic sections are needed. (sunos_scan_std_relocs): Pass false to create_dynamic_sections. Initialize .got section. (sunos_scan_ext_relocs): Likewise. (sunos_write_dynamic_symbol): Set up PLT entry even if this is not a dynamic symbol. (sunos_finish_dynamic_link): Check got_needed. Only set up dynamic linking information if needed. PR 11074.
1996-11-21 * config.bfd: Added VersaDOS format to the Ericsson configuration.Rob Savoye1-0/+4
1996-11-20 * elf32-mn10300.c: Rough cut at relocs for the mn10300.Jeff Law2-0/+107
1996-11-12 * filemode.c: Include sysdep.h.Dawn Perchik1-0/+1
* ihex.c: Add casts to eliminate compiler warnings. * sunos.c: Add casts to eliminate compiler warnings.
1996-11-11Add more support for V.4 shared libsMichael Meissner1-0/+8
1996-10-29 * elf32-m32r.c (elf_m32r_howto_table, R_M32R_24): UseDavid Edelsohn1-0/+7
complain_overflow_unsigned.
1996-10-29add missing end-sanitize-v850Ian Lance Taylor1-0/+1
1996-10-29Tue Oct 29 12:53:46 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+7
* elf32-d10v.c (elf_d10v_howto_table): Don't complain on overflows for R_D10V_16 and R_D10V_18.
1996-10-29 * ieee.c (ieee_write_section_part): Use LMA rather than VMA.Ian Lance Taylor1-0/+20
(do_with_relocs): Likewise. (do_as_repeat): Likewise. (copy_expression): Likewise. PR 10946.
1996-10-24 * aclocal.m4, configure: Set USE_BINARY_FOPEN for *-*-windows.Stu Grossman1-0/+4
1996-10-23 * elf32-v850.c: Add comments about assumptions aboutJeff Law2-11/+28
char, short & long sizes. (elf32_v850_bfd_final_link_relocate): Fix sign extension problems for several relocs. Still fixing sda/tda/zda stuff.
1996-10-23 * xcofflink.c (bfd_xcoff_import_symbol): Don't allocate ldsym.Ian Lance Taylor1-0/+7
Store import file index in ldindx. (xcoff_build_ldsyms): Assume that ldsym was not previously allocated. For an imported symbol, copy ldindx into l_ifile.
1996-10-23 * elf32-v850.c (elf_v850_howto_table): Fix ordering ofJeff Law2-19/+79
R_V850_ZDAOFFSET and R_V850_TDAOFFSET. Fix various fields in R_V850_TDAOFFSET. (elf32_v850_bfd_final_link_relocate): Tweak pc-relative relocs to work more like other relocs. Handle R_V850_TDAOFF relocations. v850 tda, sda & zda stuff.
1996-10-23 * elf32-v850.c: Include bfdlink.h.Jeff Law2-0/+325
(bfd_elf32_v850_reloc): Return an error if we get a reloc we can't handle. (elf32_v850_bfd_final_link_relocate): New function. (v850_elf_relocation_section): Likewise. (elf_backend_relocate_section): Define. New-style linker for the v850 (necessary to handle zda, sda & tda). sda & tda relocs seem to be working. No tda reloc support yet.
1996-10-22 * binary.c (binary_set_section_contents): Ignore sections whichIan Lance Taylor1-0/+5
don't have SEC_LOAD and SEC_ALLOC set. PR 10914.
1996-10-21 * elf32-mips.c (elf_mips_howto_table): Describe R_MIPS_64.Ian Lance Taylor1-0/+5
(mips32_64bit_reloc): New static function. (mips_reloc_map): Add entry for BFD_RELOC_64. (mips_elf_relocate_section): Handle R_MIPS_64.
1996-10-21 * linker.c (_bfd_generic_final_link): Avoid losing staticJeff Law1-0/+5
symbols in the .bss section. Something Stu noticed.
1996-10-21 * linker.c (default_indirect_link_order): Print an error messageIan Lance Taylor2-1/+11
when attempting to do a relocateable link with different object file formats, rather than calling abort.
1996-10-17 * reloc.c (m32r relocs): Rename them.David Edelsohn1-0/+11
* bfd-in2.h, libbfd.h: Regenerated. * elf32-m32r.c: Update. (m32r_elf_10_pcrel_reloc): New function. (elf_m32r_howto_table, R_M32R_10_PCREL entry): Use it. (elf_m32r_howto_table, R_M32R_24 entry): Fix {src,dst}_masks.
1996-10-17 * elf32-v850.c (enum reloc_type): Add R_V850_SDA_OFFSET,Jeff Law5-0/+84
R_V850_TDA_OFFSET and R_V850_ZDA_OFFSET. (elf_v850_howto_table): Corresponding changes. (elf_v850_reloc_map): Corresponding changes. * reloc.c: Add additional V850 relocations. * bfd-in2.h, libbfd.h: Rebuilt.
1996-10-16 * linker.c (_bfd_generic_final_link): Set "linker_mark" forJeff Law2-20/+40
all sections that will be included in the output file. (_bfd_generic_link_output_symbols): Discard symbols in sections which are being discarded. Fixes 4 failures in the g++ testsuite on the v850.
1996-10-16 * elf32-v850.c (bfd_elf32_v850_reloc): Mask out bits weJeff Law2-0/+7
no longer want in pc-relative relocs. Fixing some g++ testsuite failures.
1996-10-16 * elf32-v850.c (bfd_elf32_v850_reloc): Don't silentlyJeff Law2-0/+11
accept a reloc against an undefined sybmol! jeez. I'm going to go sit in the corner and hide.
1996-10-15 * elf32-v850.c: Define elf_symbol_leading_char to be '_'.Stu Grossman2-0/+25
1996-10-15 * VERSION: Bump for new relocation.Ian Lance Taylor2-1/+3
1996-10-15 * hosts/i386bsd.h: If NBPG is not defined, define it asIan Lance Taylor1-0/+5
PAGE_SIZE, for recent versions of FreeBSD.
1996-10-14 * configure.host: Use `long long' as the 64 bit type on a SolarisIan Lance Taylor1-0/+5
host, since both gcc and the SunPRO compilers support it.
1996-10-14Mon Oct 14 11:17:24 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor4-13/+56
* reloc.c: Create a new BFD_RELOC_ALPHA_ELF_LITERAL. It was a mistake to have reused the ECOFF LITERAL for ELF since they have different semantics. * elf64-alpha.c (elf_reloc_map): Map from ELF_LITERAL. * bfd-in2.h, libbfd.h: Rebuild. * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Trap .got section overflow. * elf64-alpha.c (elf64_alpha_relocate_section): Do not emit a dynamic relocation for an undefweak symbol when we are building a static executable.
1996-10-10 * mpw-make.sed (config.bfd, targmatch.sed): Edit references toStan Shebs2-0/+12
point explicitly to srcdir. (targmatch.h): Edit references to point explicitly to objdir.
1996-10-10 * config.bfd: When setting targ_cpu, don't get confused byIan Lance Taylor1-0/+5
linux-gnu.
1996-10-08 * elflink.h (elf_link_add_object_symbols): If a symbol is a weakIan Lance Taylor2-1/+8
definition in a dynamic object, add it to the dynamic symbol table if any dynamic object mentions it. Reverts part of last patch. PR 10827.
1996-10-08 * sunos.c (struct sunos_link_hash_table): Add got_base field.Ian Lance Taylor1-0/+8
(sunos_link_hash_table_create): Initialize got_base. (bfd_sunos_size_dynamic_sections): If the .got section is more than 0x1000 bytes, set __GLOBAL_OFFSET_TABLE_ and got_base to 0x1000. (sunos_check_dynamic_reloc): Subtract got_base from a base relative relocation. PR 10684.
1996-10-08 * configure.host: Add support for windows host (a build doneStu Grossman2-6/+41
under the Microsoft build environment).
1996-10-08 * elf32-mips.c (elf_mips_isa): New static function.Ian Lance Taylor2-12/+65
(_bfd_mips_elf_merge_private_bfd_data): Don't warn about linking -mips1 and -mips2 code together, or -mips3 and -mips4 code.
1996-10-07 * archive.c (do_slurp_coff_armap): Only treat archive as littleIan Lance Taylor1-0/+5
endian for i960 COFF.
1996-10-04 * coffcode.h (coff_compute_section_file_positions): Adjust sofarIan Lance Taylor1-0/+3
by the change in size of the section when EXEC_P is not set.
1996-10-04 * coff-m68k.c (coff_rtype_to_howto): Define if not defined.Ian Lance Taylor2-1/+9
(m68kcoff_rtype_to_howto): New static function. * cf-m68klynx.c (coff_m68k_lynx_rtype_to_howto): Add the section VMA to the addend for a PC relative reloc.
1996-10-04 * dep-in.sed: Rework backslash loop a bit to avoid bug in sed onIan Lance Taylor1-0/+4
HP/UX 10.20. * Makefile.in: Rebuild dependencies.