Nick Clifton
8c11394ac6
Remove (most of the) target dependent code from peicode.h
1998-03-26 18:16:23 +00:00
Ian Lance Taylor
aed5701ba3
fix tipo in ifdef
1998-03-26 16:00:26 +00:00
Nick Clifton
38c574bbd3
Support interworking for thumb-pe and arm-pe targets.
1998-03-25 23:48:55 +00:00
Ian Lance Taylor
d04efb80db
* aoutf1.h (sunos_set_arch_mach): Use bfd_mach_m68* rather than
...
plain numbers.
(sunos_write_object_contents): Likewise.
* aoutx.h (NAME(aout,machine_type)): Likewise.
* coffcode.h (coff_set_arch_mach_hook): Likewise.
1998-03-25 20:21:20 +00:00
Ian Lance Taylor
ce6821a595
Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* archures.c (bfd_mach_m68*): Add definitions for various m68k
variants.
(bfd_default_scan): Remove m68k special cases.
* bfd-in2.h: Rebuild.
* mipsbsd.c (MY(write_object_contents)): Use bfd_mach_m680*
instead of plain numbers.
* sparclynx.c (NAME(lynx,set_arch_mach)): Likewise.
* cpu-m68k.c (arch_info_struct): Likewise. Add entry for
m68k:68000.
(bfd_m68k_arch): Set mach field to zero to signal no explicit
selection, change printable_name to just "m68k" and make that the
default instead of m68k:68020.
1998-03-25 20:12:49 +00:00
Ian Lance Taylor
df5f44d12a
Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* aout-tic30.c (NAME): Define this to avoid multiple definitions
from aoutx.h.
(MY_get_section_contents): Define as aout_32_get_section_contents
rather than NAME(aout,get_section_contents).
* elf-m10300.c (elf32_mn10300_link_hash_table_create): Fix cast.
Wed Mar 25 11:19:28 1998 Ian Lance Taylor <ian@cygnus.com>
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Change
byte_count to unsigned int.
(mn10300_elf_relax_section): Initialize internal_relocs. Remove
unused local variables.
1998-03-25 19:49:40 +00:00
Ian Lance Taylor
b35711c4d8
Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha
and call bfd_default_set_arch_mach to do the real work.
Wed Mar 25 13:59:05 1998 Ian Lance Taylor <ian@cygnus.com>
* evax-alpha.c (evax_close_and_cleanup): Remove unused local
variables er and er1.
1998-03-25 19:00:21 +00:00
Ian Lance Taylor
883f72a204
* cpu-v850.c: Include <ctype.h>.
...
(scan): Case isdigit argument to unsigned char.
Also fix v850e/v850ea sanitization.
1998-03-25 18:56:03 +00:00
Richard Henderson
0892d40bc3
* bout.c (BALX): Include return register g14 as part of the insn.
...
(BALX_MASK): New.
(calljx_callback): Use it.
PR 15310
1998-03-25 18:42:26 +00:00
Ian Lance Taylor
1719df74c1
From Yan Meroth <YAN.MEROTH@st.com>:
...
* ihex.c (ihex_scan): Add extbase variable so that getting an
extended linear address record does not ignore any previous
extended address.
(ihex_write_object_contents): When writing out an extended linear
address record, zero out any previous extended address.
1998-03-25 16:21:24 +00:00
Ian Lance Taylor
b7f28e8f22
Tue Mar 24 16:09:43 1998 Manfred Hollstein <manfred@s-direktnet.de>
...
* ieee.c (do_one): Check section before dereferencing it.
(ieee_canonicalize_reloc): Likewise with src->relent.sym_ptr_ptr.
(ieee_generic_stat_arch_elt): Likewise with abfd->my_archive.
1998-03-24 21:10:44 +00:00
Ian Lance Taylor
615141db17
Mon Mar 23 18:51:47 1998 Joel Sherrill <joel@OARcorp.com>
...
* config.bfd: (sh*-*-rtems*): Switched from ELF to COFF.
1998-03-23 23:52:58 +00:00
Nick Clifton
454515c0b5
Add interworking support (untested) to pe backends.
1998-03-23 22:24:37 +00:00
Jeff Law
721232f36c
* elf32-mips.c (R_MIPS15_S3): New relocation type.
...
(elf_mips_howto_table): Add R_MIPS15_S3.
(mips_reloc_map): Map BFD_RELOC_MIPS15_S3 to R_MIPS15_S3.
* reloc.c (BFD_RELOC_MIPS15_S3): New relocation type.
* bfd-in2.h, libbfd.h: Rebuilt.
1998-03-22 20:01:56 +00:00
Ian Lance Taylor
b9bf4aff64
* configure.in: Use AM_DISABLE_SHARED.
...
* aclocal.m4, configure: Rebuild with libtool 1.2.
1998-03-20 23:48:23 +00:00
Nick Clifton
a748b374f5
Fixes for PR15358 and 15373
1998-03-20 19:28:48 +00:00
Richard Henderson
f2caa39b4c
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Revert
...
part of Feb 22 change controling when to override the existing
symbol with the .plt entry.
1998-03-20 10:28:55 +00:00
Nick Clifton
41eca8a753
Add thumb-pe support
1998-03-18 17:28:50 +00:00
Joern Rennecke
1eb85945f5
Remove SH4 sanitation.
1998-03-07 00:56:05 +00:00
Doug Evans
f8ca1a47e6
Fix 4320 sanitization.
1998-03-04 21:14:50 +00:00
Gavin Romig-Koch
ad4413e67c
* mips-cpu.c: Reorganize sanitization.
...
* archures.c, bfd-in2.h, mips-cpu.c : Added bfd_mach_mips4320.
1998-03-03 16:31:21 +00:00
Ian Lance Taylor
3c9f13f43f
* configure.in: Add elf.lo to elf shell variable.
...
* Makefile.am (BFD_LIBS): Remove elf.lo.
(BFD_LIBS_CFILES): Remove elf.c.
(BFD32_BACKENDS): Add elf.lo.
(BFD32_BACKENDS_CFILES): Add elf.c.
* configure, Makefile.in: Rebuild.
1998-02-24 00:53:38 +00:00
Ulrich Drepper
b35d842de7
(elf_i386_relocate_section): A pc-relative relocation against a
...
now-local symbol should not have a dynamic relocation.
1998-02-23 23:58:16 +00:00
Ian Lance Taylor
b1f09b637e
* peicode.h (coff_swap_filehdr_in): Don't set BFD flag HAS_SYMS in
...
COFF filehdr flags.
(pe_print_private_bfd_data): Print PE flags. From Mikey
<jeffdb@netzone.com>.
1998-02-23 21:18:30 +00:00
Ian Lance Taylor
bdd5e0232a
remove sparclinux.h
1998-02-23 04:53:58 +00:00
Richard Henderson
2f53b8ff40
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Don't create
...
a plt entry when we can determine that we authoritatively define
the symbol.
1998-02-23 04:41:18 +00:00
Richard Henderson
07fafd5d88
* configure.in (COREFILE selection): Remove sparc-*-linux*. They
...
don't actually use trad-core, but a SunOS-style core file handled
by gdb directly.
* hosts/sparclinux.h: Remove.
1998-02-23 04:37:04 +00:00
Doug Evans
5871376494
* config.bfd (targ_archs): If mips64r5900-sky-elf, add bfd_dvp_arch.
1998-02-18 04:04:07 +00:00
Ian Lance Taylor
5290378abc
* libbfd.c (bfd_seek): If fseek fails, save errno around call to
...
bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not
bfd_error_system_call.
1998-02-17 18:02:55 +00:00
Ian Lance Taylor
004040c93b
rebuild with new automake
1998-02-13 19:44:27 +00:00
Ian Lance Taylor
cf4ce8779a
x
1998-02-13 18:39:49 +00:00
Ian Lance Taylor
6e639e5d7b
* Makefile.am (libbfd_la_LDFLAGS): Define.
...
* Makefile.in: Rebuild.
1998-02-13 18:12:58 +00:00
Ian Lance Taylor
f53bcd0a9c
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
...
* netbsd.h (MACHTYPE_OK): Define.
(MY(write_object_contents)): Use DEFAULT_ARCH and DEFAULT_MID when
calling N_SET_MACHTYPE, rather than having a switch.
* libaout.h (enum machine_type): Add M_PMAX_NETBSD, M_VAX_NETBSD,
and M_ALPHA_NETBSD.
* i386netbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* m68k4knetbsd.c (SEGMENT_SIZE): Don't define.
(MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* m68knetbsd.c: (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* ns32knetbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
* sparcnetbsd.c (MACHTYPE_OK): Don't define.
(DEFAULT_MID): Define.
1998-02-13 00:11:41 +00:00
Ian Lance Taylor
eee4e8ca3e
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
...
* vaxnetbsd.c: New file.
* netbsd-core.c: Clean up. Remove unused macros. Use netbsd
rather than netbsd_core.
* targets.c (vaxnetbsd_vec): Declare.
(bfd_target_vector): Add vaxnetbsd_vec. If NETBSD_CORE is
defined, add netbsd_core_vec.
* configure.in: Set COREFILE for alpha*-*-netbsd* and
powerpc-*-netbsd* to netbsd-core.lo. If COREFILE is
netbsd-core.lo, set COREFLAG to -DNETBSD_CORE.
* config.bfd (alpha*-*-netbsd*): New target.
* Makefile.am: Rebuild dependencies.
(BFD32_BACKENDS): Add vaxnetbsd.lo.
(BFD32_BACKENDS_CFILES): Add vaxnetbsd.c.
* configure, Makefile.in: Rebuild.
1998-02-12 23:03:13 +00:00
Ian Lance Taylor
23b6505c78
update bug-gnu-utils address
1998-02-12 18:35:59 +00:00
Richard Henderson
ba47566751
* tekhex.c (tekhex_write_object_contents): Call tekhex_init.
...
PR 14804
1998-02-12 01:12:14 +00:00
Nick Clifton
bae2276c5b
Do not complain when merging m32r binaries into m32rx binaries.
1998-02-11 00:13:05 +00:00
Nick Clifton
9cca77627b
Fix PR14909 by reducing the paranoia in locating the assocaueted HI16S reloc
...
of a LO16 reloc.
1998-02-10 23:40:20 +00:00
Doug Evans
9eb7b67b39
* archures.c (bfd_mach_dvp_{vif,gif}): Renamed from ..._{pke,gpuif}.
...
(bfd_txvu_arch): Delete.
* cpu-mips.c (arch_info_struct): dvp:{vif,gif} renamed from
dvp:{pke,gpuif}.
* bfd-in2.h: Regenerate.
1998-02-10 21:32:14 +00:00
Ian Lance Taylor
5303c57477
* configure.in: Change -linux* to -linux-gnu*.
...
* config.bfd, configure.host: Likewise.
* configure: Rebuild.
1998-02-10 20:04:48 +00:00
Nick Clifton
6aa32b907b
(PR14907) Fix HI16S/LO16 relocations when buf[-1] is evaluated.
1998-02-10 03:55:57 +00:00
Ian Lance Taylor
7ee4e307d6
* configure, aclocal.m4: Rebuild with new libtool.
1998-02-07 20:35:04 +00:00
Nick Clifton
8b6dcc1bb9
Do not initialise private data in output BFD if the input BFD is the default
...
architecture - instead allow future merges to do this.
1998-02-07 01:06:49 +00:00
Nick Clifton
75172c0f50
Do not generate an error message when merging v850 code into v850e/v850ea code.
1998-02-06 22:53:35 +00:00
Jeff Law
bb1fd71fc5
Add missing sanitize markers in last ChangeLog entry.
1998-02-06 22:35:05 +00:00
Jeff Law
6f84b00f99
* cpu-mips.c (arch_info_struct): Make r5900 pointer size 32bits.
1998-02-06 22:30:45 +00:00
Jeff Law
9b47bc23b8
* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR
...
get the size from bfd_arch_bits_per_address instead of directly
from the isa.
1998-02-06 18:50:34 +00:00
Ian Lance Taylor
1f2864765c
* coff-i386.c (coff_pe_i386_relocate_section): New static function
...
if COFF_WITH_PE.
(coff_relocate_section): If COFF_WITH_PE, define as
coff_pe_i386_relocate_section.
* coffcode.h (coff_write_object_contents): If COFF_IMAGE_WITH_PE,
skip empty sections, to match coff_write_object_contents.
1998-02-05 20:25:31 +00:00
Michael Meissner
b494ec3e81
Do not allow BFD_ALIGN to wrap
1998-02-05 19:38:28 +00:00
Michael Meissner
29b7118aec
Do not allow BFD_ALIGN to wrap
1998-02-05 19:29:29 +00:00