aboutsummaryrefslogtreecommitdiff
path: root/bfd/netbsd386.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-10-28 20:36:48 +0000
committerIan Lance Taylor <ian@airs.com>1993-10-28 20:36:48 +0000
commit14aa9a78c39300d49cc6a816dbb833a897d9c6e0 (patch)
treebd02850c1278360caf4934bf2ed75918efc4b1bc /bfd/netbsd386.c
parentd17eb3db0e135a449c94977aabae938e96584603 (diff)
downloadgdb-14aa9a78c39300d49cc6a816dbb833a897d9c6e0.zip
gdb-14aa9a78c39300d49cc6a816dbb833a897d9c6e0.tar.gz
gdb-14aa9a78c39300d49cc6a816dbb833a897d9c6e0.tar.bz2
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.
Diffstat (limited to 'bfd/netbsd386.c')
-rw-r--r--bfd/netbsd386.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/netbsd386.c b/bfd/netbsd386.c
index 7a42700..ab6aa12 100644
--- a/bfd/netbsd386.c
+++ b/bfd/netbsd386.c
@@ -25,6 +25,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* ZMAGIC files start at address 0. This does not apply to QMAGIC. */
#define TEXT_START_ADDR 0
+#define N_SHARED_LIB(x) 0
#define PAGE_SIZE 4096
#define SEGMENT_SIZE PAGE_SIZE