From fa2b5a73cf8ad17355195f6279ec278c775b9d2c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 9 Dec 1998 00:49:31 +0000 Subject: Tue Dec 8 19:38:42 1998 Mark Klein * config.bfd (hppa*-*-mpeix*): New target. * configure.in: Add AC_HEADER_DIRENT. (hppa*-*-mpeix*): New target. * configure.host (hppa*-*-mpeix*): New host. * hpux-core.c: Check HOST_HPPAMPEIX. Use HAVE_DIRENT_H and friends rather than just including . * som.h (struct som_symbol): Add hppa_priv_level and apto tc_data. Change all users. (struct somdata): Add comp_unit field. (obj_som_compilation_unit): Define. (bfd_som_attach_compilation_unix): Declare. * som.c: Check HOST_HPPAMPEIX. (struct som_misc_symbol_info): Add new field priv_level. (som_object_setup): Add current_offset parameter. Change all callers. (setup_sections): Likewise. (som_object_p): For EXECLIBMAGIC, read the lst header. (som_write_symbol_strings): Add compilation_unit parameter. Change all callers. (som_finish_writing): Write out compilation_unit. (som_bfd_derive_misc_symbol_info): Set priv_level. (som_build_and_write_symbol_table): Set xleast field to 3. (som_slurp_symbol_table): Set symbol priv_level. (bfd_som_attach_compilation_unit): New function. (som_bfd_ar_write_symbol_stuff): Set xleast field to 3. Set priv_level into symbol_value. * configure, config.in: Rebuild. --- bfd/configure.in | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'bfd/configure.in') diff --git a/bfd/configure.in b/bfd/configure.in index d2ea3ed..f334a40 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -98,6 +98,7 @@ BFD_CC_FOR_BUILD AC_CHECK_HEADERS(stddef.h string.h strings.h stdlib.h time.h unistd.h) AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h) AC_HEADER_TIME +AC_HEADER_DIRENT AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen) BFD_BINARY_FOPEN @@ -122,6 +123,7 @@ if test "${target}" = "${host}"; then arm-*-riscix) COREFILE=trad-core.lo ;; hppa*-*-hpux*) COREFILE=hpux-core.lo ;; hppa*-*-hiux*) COREFILE=hpux-core.lo ;; + hppa*-*-mpeix*) COREFILE=hpux-core.lo ;; hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo" COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;; changequote(,)dnl @@ -467,8 +469,6 @@ do target64=true ;; go32coff_vec) tb="$tb coff-go32.lo cofflink.lo" ;; go32stubbedcoff_vec) tb="$tb coff-stgo32.lo cofflink.lo" ;; - evax_alpha_vec) tb="$tb evax-alpha.lo evax-emh.lo evax-egsd.lo evax-etir.lo evax-misc.lo" - target64=true ;; h8300coff_vec) tb="$tb coff-h8300.lo reloc16.lo" ;; h8500coff_vec) tb="$tb coff-h8500.lo reloc16.lo" ;; host_aout_vec) tb="$tb host-aout.lo aout32.lo" ;; @@ -538,10 +538,13 @@ do # start-sanitize-tic80 tic80coff_vec) tb="$tb coff-tic80.lo cofflink.lo" ;; # end-sanitize-tic80 + versados_vec) tb="$tb versados.lo" ;; + vms_alpha_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" + target64=true ;; + vms_vax_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;; + w65_vec) tb="$tb coff-w65.lo reloc16.lo" ;; we32kcoff_vec) tb="$tb coff-we32k.lo" ;; z8kcoff_vec) tb="$tb coff-z8k.lo reloc16.lo" ;; - w65_vec) tb="$tb coff-w65.lo reloc16.lo" ;; - versados_vec) tb="$tb versados.lo" ;; "") ;; *) AC_MSG_ERROR(*** unknown target vector $vec) ;; -- cgit v1.1