Jim Kingdon
3f99570ec9
* aout-target.h, netbsd386.c: Replace NO_SWAP_MAGIC with SWAP_MAGIC,
...
and do the swapping here rather than calling ntohl from the N_*
macros. This cleans up assumptions about the size of a host long,
the existence to ntohl, etc.
1994-01-03 16:16:01 +00:00
Ian Lance Taylor
14aa9a78c3
gcc -Wall lint:
...
* coff-h8300.c (h8300_reloc16_estimate): Declare return type.
Remove useless statement probably left by code copy.
* cpu-i960.c (compatible): Fully bracket matrix initializer.
* elf32-hppa.c (hppa_elf_build_arg_reloc_stub): Use bfd_xmalloc
rather than xmalloc. Use realloc and check the return value
rather than xrealloc.
(hppa_elf_get_section_contents): Add some casts.
* elf32-i386.c (elf_i386_reloc_type_lookup): Remove unused
variable. Add default case to switch.
* hp300hpux.c: Declare aout_32_write_syms.
* i386bsd.c, i386linux.c, netbsd386.c (N_SHARED_LIB): Define as 0
(definition from aout/aout64.h is always 0 anyhow).
* i386lynx.c (swap_std_reloc_in): Remove unused variable.
* ieee.c (ieee_write_id): length can never be negative.
(read_id): Likewise.
(ieee_archive_p): Remove unused variable.
* libcoff-in.h (bfd_perform_slip): Declare.
* libcoff.h: Rebuilt.
* oasys.c (oasys_write_sections): Remove zero initialization of
static structure.
* reloc16.c: Indentation change.
1993-10-28 20:36:48 +00:00
Jim Kingdon
f6fcc08262
* libaout.h, netbsd386.c: Change M_I386 to M_386_NETBSD. M_I386
...
is an SCO pre-define.
1993-09-01 19:28:53 +00:00
Jim Kingdon
c28096f36a
Write (half-assed) ChangeLog entry for sef changes.
...
Change name of target from netbsd-386 to a.out-netbsd-386 so that GDB
can recognize it as an a.out variant.
1993-08-23 19:35:33 +00:00
Sean Eric Fagan
05c81f45b4
Add support for netbsd386 (almost-but-not-quite 386bsd).
1993-08-23 07:45:32 +00:00