aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-08-28 00:10:54 +0000
committerKen Raeburn <raeburn@cygnus>1993-08-28 00:10:54 +0000
commitd9ad93bce5cb9be821085233353cbf6baa7e1a2e (patch)
tree1d611bcef298efb57c2f27e3a732cfc571361985 /bfd/configure.in
parent78e1e6d95a89375bfcd2f01e963f9edbc67c8b85 (diff)
downloadgdb-d9ad93bce5cb9be821085233353cbf6baa7e1a2e.zip
gdb-d9ad93bce5cb9be821085233353cbf6baa7e1a2e.tar.gz
gdb-d9ad93bce5cb9be821085233353cbf6baa7e1a2e.tar.bz2
More patches from Jeff Law, plus a little cleanup of my own.
These changes separate PA-SOM support from PA-ELF support. A sun4-x-hppaosf assembler can now be built. * elf32-hppa.c (elf_hppa_howto_table): Now static. (symext_rootP, symext_lastP, global_value, GOT_value, global_symbol, global_sym_defined, symextn_contents, symextn_contents_real_size, elf_hppa_stub_rootP, elf32_hppa_symextn_map, elf32_hppa_symextn_map_size): Rely on default initialization. (hppa_elf_gen_reloc_type): Macro "UNDEFINED" doesn't need a trailing semicolon. (hppa_look_for_stubs_in_section): Introduce temporaries to make code more readable in 80 columns. * libhppa.h (all functions): Now inline under GNU C. * elf32-hppa.c (AR_WARN): Give argument which caused the invalid argument relocation. (AR_UNIMP): Delete unused macro. (hppa_elf_set_section_contents): Always return a value. (elf32_hppa_backend_table_processing): Likewise. (elf32_hppa_backend_section_processing: Likewise. * som.c: New file containing SOM specific code extracted from hppa.c * som.h: New file containing SOM specific code extracted from libhppa.h * hppa.c: Deleted. * libhppa.h: Delete SOM specific code. Add generic PA code which can be shared by both SOM and ELF backends. * Makefile.in: Replace hppa.c with som.c. elf32-hppa.o depends on libhppa.h now. * configure.in (hppa_vec): Needs som.o module instead of hppa.o. * elf32-hppa.c: Include libhppa.h. Do not define BYTES_IN_WORD. * elf32-hppa.h (hppa_reloc_field_selector_type): Delete now lives in libhppa.h. (hppa_reloc_field_selector_type_alt): Likewise. * elf32-hppa.c (hppa_elf_relocate_unwind_table): Delete unused variables. (elf_hppa_reloc_type_lookup): Likewise. (elf_hppa_tc_make_sections): Likewise. (hppa_elf_arg_reloc_needed_p): Likewise. (hppa_elf_build_long_branch_stub): Likewise. (elf_reloc_map): Delete, no longer used. (elf_hppa_reloc_map): Likewise. (elf32_hppa_symextn_map_max_size): Likewise. (elf32_hppa_get_sym_extn): Abort if type is bogus. * elf32-hppa.c (elf32_hppa_backend_fake_sections): Add processing of the .hppa_unwind section.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index 2c375fe..9f23637 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -51,6 +51,10 @@ for targ in $target $canon_targets
do
bfd_target=`$srcdir/config.bfd $targ`
+ case "$targ" in
+ netbsd386) bfd_target=i386-netbsd ;;
+ esac
+
if [ "x$bfd_target" = "xall" ]; then
all_targets=true
else
@@ -171,9 +175,10 @@ if [ x${all_targets} = xfalse ]; then
host_aout_vec) tb="$tb host-aout.o aout32.o stab-syms.o" ;;
hp300bsd_vec) tb="$tb hp300bsd.o aout32.o stab-syms.o" ;;
hp300hpux_vec) tb="$tb hp300hpux.o aout32.o stab-syms.o" ;;
- hppa_vec) tb="$tb hppa.o" ;;
+ hppa_vec) tb="$tb som.o" ;;
i386aout_vec) tb="$tb i386aout.o aout32.o stab-syms.o" ;;
i386bsd_vec) tb="$tb i386bsd.o aout32.o stab-syms.o" ;;
+ netbsd386_vec) tb="$tb netbsd386.o aout32.o stab-syms.o" ;;
i386coff_vec) tb="$tb coff-i386.o" ;;
i386linux_vec) tb="$tb i386linux.o aout32.o stab-syms.o" ;;
i386lynx_vec) tb="$tb i386lynx.o aout32.o stab-syms.o" ;;