Ian Lance Taylor
10888f106a
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Set .rela.bss size
...
to sizeof Rela structure, not sizeof Rel structure. From Gary
Thomas <g.thomas@opengroup.org>.
1997-04-16 18:03:42 +00:00
Ian Lance Taylor
55aba3335b
* aout-target.h (MY(callback)): If entry_is_text_address, adjust
...
whenever entry is larger than text address, but only by whole
pages. From Gordon W. Ross <gwr@mc.com>.
1997-04-15 19:47:45 +00:00
Ian Lance Taylor
9b31e6f533
* Makefile.in (install): Depend upon installdirs. Use
...
mkinstalldirs to build $(oldincludedir).
(installdirs): New target.
1997-04-15 16:38:24 +00:00
Ian Lance Taylor
a0c807260c
* elflink.h (elf_link_add_object_symbols): Don't call check_relocs
...
if this is a debugging section which we are stripping.
1997-04-15 15:54:24 +00:00
Ian Lance Taylor
e5d7e3df0d
From Thomas Graichen <graichen@rzpd.de>:
...
* Makefile.in: Always use $(SHELL) when running move-if-change.
* configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
* configure: Rebuild.
1997-04-14 15:47:24 +00:00
Ian Lance Taylor
3bc3351e05
* elfcode.h (elf_slurp_symbol_table): Only subtract the section
...
VMA if this is an executable file or a shared object.
1997-04-11 22:14:21 +00:00
Ian Lance Taylor
faa0b8db32
* targets.c (netbsd_core_vec): Declare. From Gordon W. Ross
...
<gwr@mc.com>.
* libaout.h (struct aout_backend_data): Add entry_is_text_address
field.
* aout-target.h (SEGMENT_SIZE): Define to TARGET_PAGE_SIZE at the
start of the file. Remove uses later on which switch using
ifdef.
(MY(callback)): Handle entry_is_text_address.
(MY_entry_is_text_address): Define if not defined.
(MY(backend_data)): Initialize new field.
* aoutf1.h (sunos4_aout_backend): Likewise.
* i386aout.c (MY(backend_data)): Likewise.
* i386mach3.c (MY(backend_data)): Likewise.
* mipsbsd.c (MY(backend_data)): Likewise.
* sparclynx.c (sparclynx_aout_backend): Likewise.
* netbsd.h (SEGMENT_SIZE): Define if not defined.
(MY_entry_is_text_address): Define.
* m68knetbsd.c (SEGMENT_SIZE): Define as 0x20000
1997-04-11 20:27:40 +00:00
Ian Lance Taylor
4b8c8bb988
* xcofflink.c (bfd_xcoff_import_symbol): Handle importing a symbol
...
whose name starts with `.'.
PR 12061.
1997-04-11 19:44:15 +00:00
Ian Lance Taylor
3b1b0308a4
* config.bfd: (i[3456]86-*-openbsd*, m68*-*-openbsd*,
...
mips*el*-*-openbsd*, mips*-*-openbsd*, ns32k-*-openbsd*,
powerpc-*-*bsd*, sparc-*-openbsd*): New targets.
* configure.in (i[3456]86-*-openbsd*, mips*-*-openbsd*,
m68*-*-openbsd*, ns32k-*-openbsd*, powerpc-*-*bsd*,
sparc-*-openbsd*): New targets.
* configure: Rebuild.
1997-04-11 15:59:02 +00:00
Ian Lance Taylor
57a3027b38
Tue Apr 8 18:09:29 1997 Jamie Lokier <jamie@rebellion.co.uk>
...
* stabs.c (struct stab_section_info): New field
`cumulative_skips'.
(_bfd_link_section_stabs): Fill the above array.
(_bfd_stab_section_offset): Use `cumulative_skips' to
speed up offset calculation.
1997-04-08 22:10:27 +00:00
Jeff Law
6944401473
* elf32-mn10300.c (mn10300_elf_relax_section): Don't forget the
...
addend for non pc-relative relocations.
Bug exposed by testing relaxing linker.
1997-04-08 13:52:51 +00:00
Jeff Law
a01362cc63
* elf-m10300.c (bfd_elf32_mn10300_reloc): Remove prototype
...
for non-existent function.
Just something I noticed.
* elf-m10300.c (mn10300_elf_relax_section): New function.
(mn10300_elf_relax_delete_bytes): Likewise.
(mn10300_elf_symbol_address_p): Likewise.
(mn10300_elf_get_relocated_section_contents): Likewise.
(bfd_elf32_bfd_relax_section): Define.
(bfd_elf32_bfd_get_relocated_section_contents): Likewise.
Basic relaxing linker.
1997-04-08 06:08:29 +00:00
Ian Lance Taylor
418d5b058a
* configure.host: Set SHLIB_LIBS.
...
* configure.in: Substitute SHLIB_LIBS.
* configure: Rebuild.
* Makefile.in (SHLIB_LIBS): New variable.
($(SHLIB)): Use $(SHLIB_LIBS).
1997-04-07 21:00:31 +00:00
Michael Snyder
d9654a710e
Mon Apr 7 10:53:52 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
...
* bfd-in.h bfd-in2.h: add bfd_section_lma macro to correspond
with bfd_section_vma.
1997-04-07 17:56:18 +00:00
Ian Lance Taylor
b872076e96
* configure.in: Update file names for bfd_elf32_mn10[23]00_vec.
...
Correct CPU file names for mn10[23]00.
* configure: Rebuild.
1997-04-05 00:52:15 +00:00
Ian Lance Taylor
ac66474758
* bfd.c (bfd_record_phdr): Cast count to size_t before
...
subtraction.
1997-04-04 20:59:36 +00:00
Ian Lance Taylor
44fe6ab1e5
* coff-ppc.c (dump_toc): Add cast to avoid warning from SunOS cc.
...
* coff-rs6000.c (xcoff_read_ar_hdr): Likewise.
(xcoff_write_archive_contents): LIkewise.
* elf32-mips.c (_bfd_mips_elf_set_section_contents): Likewise.
(mips_elf_create_procedure_table): Likewise.
* peicode.h (pe_print_idata): Likewise.
(pe_print_edata, pe_print_pdata, pe_print_reloc): Likewise.
* xcofflink.c (xcoff_get_section_contents): Likewise.
(_bfd_xcoff_canonicalize_dynamic_symtab): Likewise.
(xcoff_link_add_symbols): Likewise.
(xcoff_link_add_symbols): Likewise.
1997-04-04 19:35:32 +00:00
Ian Lance Taylor
0cea98f0c1
* ppcboot.c (ppcboot_set_arch_mach): Make static.
...
(ppcboot_bfd_print_private_bfd_data): Likewise.
1997-04-04 19:08:42 +00:00
Ian Lance Taylor
5641f23e6c
* elf32-mips.c (elf_mips_ctor64_howto): Set complain_on_overflow
...
to complain_overflow_signed.
1997-04-04 16:38:02 +00:00
Ian Lance Taylor
58b4a8f344
* VERSION: Set to 2.8.1.
...
* Branched binutils 2.8.
1997-04-03 18:16:38 +00:00
Ian Lance Taylor
ba254dc504
Revert last patch, and:
...
* elflink.h (elf_link_add_object_symbols): Let a common symbol
override an uninitialized symbol from a shared library with a
smaller size.
1997-04-02 22:47:29 +00:00
Ian Lance Taylor
f74e2365dd
* elflink.h (elf_link_add_object_symbols): When there is a size
...
change, use the larger size. From H.J. Lu <hjl@gnu.ai.mit.edu>.
1997-04-02 22:17:35 +00:00
Michael Meissner
acba322ed2
Undo part of 3/26 change and always create got section
1997-04-02 21:22:19 +00:00
Ian Lance Taylor
7a68d1f726
* elf-m10200.c: Rename from elf32-mn10200.c.
...
* elf-m10300.c: Rename from elf32-mn10300.c.
* cpu-m10200.c: Rename from cpu-mn10200.c
* cpu-m10300.c: Rename from cpu-mn10300.c
* Makefile.in: Update accordingly.
1997-04-02 21:09:29 +00:00
Ian Lance Taylor
3072dce9e5
* elf32-mips.c (elf_mips_ctor64_howto): New static variable.
...
(elf_mips_isa): Move to earlier in file.
(mips_reloc_map): Remove BFD_RELOC_CTOR entry.
(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_CTOR
specially.
1997-04-02 16:57:43 +00:00
Ian Lance Taylor
ab66cc8d3d
* elf32-mips.c (mips16_jump_reloc): Print a warning rather than
...
calling abort.
PR 11972.
1997-04-02 15:49:47 +00:00
Ian Lance Taylor
0f8545578e
Tue Apr 1 16:18:05 1997 Klaus Kaempf <kkaempf@progis.de>
...
* configure.com: New file.
* config.h-vms: Remove file.
* makefile.vms: Update for new configure scheme.
1997-04-01 21:19:48 +00:00
Ian Lance Taylor
8faaff9e41
Mon Mar 31 23:28:39 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* coffcode.h (coff_mkobject_hook): Declare if not a macro.
1997-04-01 04:30:38 +00:00
Ian Lance Taylor
3418d8c43d
x
1997-03-31 21:35:19 +00:00
Ian Lance Taylor
5cfc99877f
Mon Mar 31 16:29:50 1997 Joel Sherrill <joel@oarcorp.com>
...
* bfd/config.bfd (hppa*-*-rtems*): New target, like hppa-*-*elf*.
1997-03-31 21:30:49 +00:00
Ian Lance Taylor
34c6830141
* coff-a29k.c (coff_a29k_relocate_section): Don't use symndx as a
...
symbol index for a R_IHCONST reloc.
1997-03-31 21:12:54 +00:00
Ian Lance Taylor
774dc17cdc
Mon Mar 31 15:40:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
...
* targmatch.sed: Do not use \(\) recursively.
1997-03-31 20:41:59 +00:00
Ian Lance Taylor
5f792743f1
From David S. Miller <davem@caip.rutgers.edu> and H.J. Lu
...
<hjl@gnu.ai.mit.edu>:
* sparclinux.c: New file.
* config.bfd (sparc-*-linuxaout*, sparc-*-linux*): New targets.
* configure.in (sparclinux_vec): Add to list of vectors.
* configure: Rebuild.
* targets.c (sparclinux_vec): Declare.
(bfd_target_vector): Add sparclinux_vec.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add sparclinux.o.
(BFD32_BACKENDS_CFILES): Add sparclinux.c.
1997-03-28 20:24:08 +00:00
Ian Lance Taylor
9e55b695b2
Fri Mar 28 14:44:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
...
* m68klinux.c (MACHTYPE_OK): Define.
* i386linux.c (MACHTYPE_OK): Define.
1997-03-28 19:47:20 +00:00
Ian Lance Taylor
bebe5fbfd8
* coff-mips.c (mips_ecoff_backend_data): Initialize new
...
bfd_coff_backend_data field.
* coff-alpha.c (alpha_ecoff_backend_data): Likewise.
1997-03-28 19:01:48 +00:00
Ian Lance Taylor
f0315e65fa
* config.bfd: Add bfd_elf64_{big,little}mips_vec to targ_selvecs
...
for mips*el*-*-linux* and mips*-*-linux*. From H.J. Lu
<hjl@lucon.org> and Ralf Baechle <ralf@gnu.ai.mit.edu>.
1997-03-28 17:39:23 +00:00
Ian Lance Taylor
f3f3b47503
* bfd.c: Include "libiberty.h".
...
(strerror): Don't declare.
(bfd_errmsg): Call xstrerror rather than strerror.
1997-03-28 16:56:57 +00:00
Ian Lance Taylor
eb80d52a27
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Generate a COPY
...
reloc even if the symbol is in the .bss section.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
1997-03-27 18:45:20 +00:00
Ian Lance Taylor
f89adeb774
* coffcode.h (bfd_coff_backend_data): Add new field
...
_bfd_coff_default_section_alignment_power.
(bfd_coff_default_section_alignment_power): Define.
(bfd_coff_std_swap_table): Initialize new field.
* libcoff.h: Rebuild.
* cofflink.c (coff_link_add_symbols): Limit alignment of a common
symbol to the default section alignment.
1997-03-27 18:01:55 +00:00
Ian Lance Taylor
013b249fef
* COPYING: Update FSF address.
1997-03-27 17:56:03 +00:00
Martin Hunt
0e9c437767
Thu Mar 27 00:45:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* elf32-d30v.c (elf_d30v_howto_table): Fix a typo in the
21-bit absolute that made it act as a relative.
1997-03-27 08:48:14 +00:00
Ian Lance Taylor
537327bc62
* elf32-ppc.c (ppc_elf_check_relocs): Only create the got section
...
if it is needed.
1997-03-26 19:51:12 +00:00
Stu Grossman
60d1227a31
* aoutx.h (some_aout_object_p): Change executable test to fix
...
problems with embedded a.out systems.
1997-03-26 06:53:10 +00:00
Ian Lance Taylor
6717fb0de0
* stabs.c (_bfd_stab_section_offset): New function.
...
* libbfd-in.h (_bfd_stab_section_offset): Declare.
* libbfd.h: Rebuild.
* elf32-i386.c (elf_i386_relocate_section): Adjust the offset of a
stab reloc.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mips.c (mips_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
1997-03-25 20:49:31 +00:00
Ian Lance Taylor
3cd5cf3d40
* stabs.c (_bfd_link_section_stabs): Copy over the first header
...
symbol. Check for memory allocation failure of *psinfo.
(_bfd_write_section_stabs): Add psinfo parameter. Change all
callers. Set the value of the header symbol.
* libbfd-in.h (_bfd_write_section_stabs): Update declaration.
* libbfd.h: Rebuild.
1997-03-25 19:46:12 +00:00
Fred Fish
67e87a1d4f
* coff-tic80.c (tic80_howto_table): Add R_ABS entry.
...
(rtype2howto): Handle R_ABS reloc type. Also abort on unhandled
reloc types, rather than silently failing to generate an output file.
1997-03-25 03:07:35 +00:00
Ian Lance Taylor
e1ea3dd50b
* targmatch.sed: Use the hold space to put the #ifdef around the
...
the string constant.
* targets.c (UNSUPPORTED_TARGET): Don't define.
(find_target): Don't check for UNSUPPORTED_TARGET.
(bfd_set_default_target): Don't try to optimize by checking for
default.
1997-03-24 21:22:00 +00:00
Ian Lance Taylor
032dc9edcb
* Makefile.in: Rebuild dependencies.
...
(ALL_MACHINES_CFILES): Add cpu-m32r.c.
(BFD32_BACKENDS_CFILES): Add elf32-m32r.c.
(elf32-m32r.o): Remove explicit target.
1997-03-24 20:07:49 +00:00
Ian Lance Taylor
19d025765c
* config.bfd: Don't set targ_underscore for i[3456]86-*-gnu* or
...
i[3456]86-*-linux*.
1997-03-24 19:52:42 +00:00
Ian Lance Taylor
e91487242e
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): Don't
...
count section symbols for sections that were created by the
linker, or are not allocatable or not loadable.
(elf32_sparc_finish_dynamic_sections): Output output section
symbols for section for which we made space for them.
1997-03-24 18:42:09 +00:00