aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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.
1996-10-04 * dep-in.sed: Remove ../bfd/sysdep.h, since it will appear whenIan Lance Taylor2-6/+15
som.h is included.
1996-10-04 * Makefile.in: Remove explicit dependencies for mn10200 andJeff Law2-9/+21
mn10300 files. (ALL_MACHINE_CFILES): Add cpu-mn10200.c and cpu-mn10300.c. (BFD32_BACKENDS_CFILES): Add elf32-mn10200.c and elf32-mn10300.c (dependencies): Rebuilt.
1996-10-03 * cofflink.c (coff_link_add_symbols): Set obj_coff_keep_symsIan Lance Taylor1-0/+3
during this function.
1996-10-03 * elflink.c (_bfd_elf_create_linker_section): Only use an existingIan Lance Taylor1-0/+3
section if the flags are compatible.
1996-10-03 * configure.in: Add havevecs, and put it in tdefaults.Ian Lance Taylor8-36/+188
* mpw-config.in: Likewise. * configure: Rebuild. * targmatch.sed: New file; a sed script to build targmatch.h from config.bfd. * config.bfd: Add #if, #endif, and comments for targmatch.h. * targets.c: Include "fnmatch.h". (struct targmatch): Define. (bfd_target_match): Define by including targmatch.h. (bfd_find_target): If the target is not found by name, search for it as a configuration triplet. * Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o, i386dynix.o, m68k4knetbsd.o, and riscix.o. (BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c, hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c. (HFILES): Add targmatch.h. Also, alphabetize and reindent. (CFILES): Remove i386dynix.c and hp300bsd.c. (targmatch.h): New target. (do_clean): Remove targmatch.h. * configure.in: Add BFD_NEED_DECLARATION(getenv). * acconfig.h: Add NEED_DECLARATION_GETENV. * configure, config.in: Rebuild. * sysdep.h: If NEED_DECLARATION_GETENV, declare getenv. * aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03Grrr. The mn10200 and mn10300 are _not_ similar enough to easily supportJeff Law12-53/+213
with a single generic configuration. So break them up into two different configurations. See the individual ChangeLogs for additional detail.
1996-10-03 * Makefile.in (do_clean): Move config.log to do_distclean.Jason Molenda2-3/+7
1996-10-03 * cpu-mn10x00.c, elf32-mn10x00.c: New files.Jeff Law12-19/+282
* Makefile.in (ALL_MACHINES): Add cpu-mn10x00.o. (BFD32_BACKENDS): Similarly for elf32-mn10x00.o. (elf32-mn10x00.o): Add dependencies. * archures.c (enum bfd_architecture): Add bfd_arch_mn10x00. (bfd_mn10x00_arch): Declare. (bfd_archures_list): Add bfd_mn10x00_arch. * config.bfd: Add mn10x00-*-*. * configure.in: Add bfd_elf32_mn10x00_vec. * elf.c (prep_headers): Handle bfd_arch_mn10x00. * targets.c (bfd_elf32_mn10x00_vec): Declare. (bfd_target_vector): Add bfd_elf32_mn10x00_vec. * bfd-in2.h, configure: Rebuilt. Stubbing out Matsushita support.
1996-10-02 * freebsd.h (N_GET_MAGIC_NET): Don't use ntohl.Ian Lance Taylor1-0/+5
(N_GETMID_NET, N_GETFLAG_NET): Likewise. (NO_SWAP_MAGIC): Don't define. (SWAP_MAGIC): Define.
1996-10-02Wed Oct 2 15:46:45 1996 Klaus Kaempf <kkaempf@progis.de>Ian Lance Taylor7-172/+305
openVMS/Alpha: Provide filename and case_hack flags via symbol table from gas. Add case_hack code for symbol output from vax/vms. * evax-alpha.c (evax_initialize): Remove filename handling, filename is provided via symbol table. (evax_get_symtab): Use local symbol count when setting up table. * evax-egsd.c (_bfd_evax_slurp_egsd): Print correct name when debugging. (_bfd_evax_write_egsd): Skip file name symbol. * evax-emh.c (get_vms_time_string): Local function now. (_bfd_evax_write_emh): Extract source filename and case_hack flags from symbol table. * evax_write_etir (_bfd_evax_write_etir): Pass all symbol names through _bfd_evax_case_hack_symbol. * evax-misc.c (hash_string, _bfd_evax_case_hack_symbol): New functions. (_bfd_evax_basename): Removed. (_bfd_get_vms_time_string): Moved to evax-emh.c. * evax.h (evax_private_data_struct): Remove filename. (flag_hash_long_names, flag_show_after_trunc, flag_no_hash_mixed_case, vms_name_mapping): New flags for vms_case_hack.
1996-10-02 * cofflink.c (_bfd_coff_link_input_bfd): Don't crash if there isIan Lance Taylor2-1/+12
no hash table entry for a global symbol.
1996-10-01 * cofflink.c (coff_link_add_symbols): Don't override a meaningfulIan Lance Taylor2-4/+39
symbol type with T_NULL. Warn if symbol type changes. Based on patch from Philippe De Muyter <phdm@labauto1.ulb.ac.be>.
1996-10-01Tue Oct 1 16:14:22 1996 Joel Sherrill <joel@oarcorp.com>Ian Lance Taylor2-1/+11
* config.bfd (mips*-*-rtems*): New target, like mips*-*-elf*.
1996-10-01 * elflink.h (elf_link_add_object_symbols): Only put a symbol fromIan Lance Taylor2-7/+21
a dynamic object in the dynamic symbol table if it is referenced or defined by a regular object. PR 10711.
1996-09-23 * reloc.c: Rename m32r relocs.David Edelsohn1-0/+8
* bfd-in2.h, libbfd.h: Rebuilt. * elf32-m32r.c: Update.
1996-09-20 * aoutx.h (aout_link_input_section_ext): When doing a relocateableIan Lance Taylor1-0/+6
link, adjust the symbol index of a base relative reloc. Don't change the addend of a PC relative reloc if pcrel_offset is set. * sunos.c (bfd_sunos_size_dynamic_sections): Don't do anything for a relocateable link. PR 10692.
1996-09-20 * reloc.c (bfd_perform_relocation): Apply the relocation even ifIan Lance Taylor2-36/+71
it is zero, in case src_mask matters. (bfd_install_relocation): Likewise. PR 10685.
1996-09-19 * xcofflink.c (xcoff_link_add_symbols): Always initializeIan Lance Taylor1-0/+7
keep_syms. (_bfd_xcoff_bfd_final_link): Don't set target_index to an uninitialized value.
1996-09-17 * coff-sh.c (sh_relocate_section): Check for an illegal symbolIan Lance Taylor1-0/+2
index.
1996-09-17 * coffcode.h (coff_slurp_line_table): Warn about illegal symbolIan Lance Taylor2-10/+49
indices, rather than crashing. (coff_slurp_reloc_table): Likewise. Check whether the howto field is NULL.
1996-09-16 * coff-arm.c (aoutarm_std_reloc_howto): Change dst_mask for ARM26DIan Lance Taylor1-0/+5
reloc to 0. (coff_arm_adjust_symndx): New static function. (coff_adjust_symndx): Define. Fix ld -r.
1996-09-16 * srec.c (srec_scan): Accept multiple symbols on a single line.Ian Lance Taylor1-0/+7
From Pascal Martin <pmartin@alsys.com>.
1996-09-16 * README: New file.Ian Lance Taylor1-0/+1
1996-09-13 * aoutf1.h (MY_bfd_merge_private_bfd_data): Define.David Edelsohn1-0/+5
(sunos_merge_private_bfd_data): New function.
1996-09-13 * bfd.c (bfd_copy_private_bfd_data): Switch on output BFD ratherIan Lance Taylor1-1/+18
than input BFD. (bfd_merge_private_bfd_data): Likewise. * section.c (bfd_copy_private_section_data): Likewise. * syms.c (bfd_copy_private_symbol_data): Likewise. * bfd-in2.h: Rebuild. * aout-target.h (MY_bfd_copy_private_section_data): Check that both BFD's are the right flavour. * ecoff.c (_bfd_ecoff_bfd_copy_private_bfd_data): Likewise. * elf.c (_bfd_elf_copy_private_symbol_data): Likewise. * elf32-mips.c (_bfd_mips_elf_copy_private_bfd_data): Likewise. (_bfd_mips_elf_merge_private_bfd_data): Likewise. * elf32-ppc.c (ppc_elf_copy_private_bfd_data): Likewise. (ppc_elf_merge_private_bfd_data): Likewise. * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Likewise. * peicode.h (pe_bfd_copy_private_section_data): Likewise.
1996-09-13 * elf32-hppa.c (elf_hppa_howto_table): Fill in some fields forIan Lance Taylor2-5/+15
R_PARISC_DIR32, so that _bfd_stab_section_find_nearest_line passes its sanity check.
1996-09-12* cpu-m32r.c,elf32-m32r.c: New files.David Edelsohn2-0/+39