Changeset 907


Ignore:
Timestamp:
Dec 16, 2003, 11:01:18 PM (22 years ago)
Author:
bird
Message:

Builds again - put back some uglyness :/

Location:
trunk/src/binutils
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/binutils/bfd/config.bfd

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r906 r907  
    7575case "${targ}" in
    7676  mips*-dec-bsd*)
    77     echo "This target is obsolete and has been removed." 
     77    echo "This target is obsolete and has been removed."
    7878    exit 1
    7979    ;;
    8080
    8181  mips*-*-pe*)
    82     echo "This target is obsolete and has been removed." 
     82    echo "This target is obsolete and has been removed."
    8383    exit 1
    8484    ;;
     
    375375#endif /* defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) */
    376376
    377   i370-*-*) 
     377  i370-*-*)
    378378    targ_defvec=bfd_elf32_i370_vec
    379379    targ_selvecs="bfd_elf32_i370_vec"
     
    447447    esac
    448448    ;;
    449   i[3456]86-*-netbsdelf*) 
     449  i[3456]86-*-netbsdelf*)
    450450    targ_defvec=bfd_elf32_i386_vec
    451451    targ_selvecs=i386netbsd_vec
     
    543543    targ_selfvecs=i386chaos_vec
    544544    ;;
     545  i[3456]86-*-os2-elf)
     546    targ_defvec=bfd_elf32_i386_vec
     547    targ_selvecs="bfd_elf32_i386_vec i386aout_emx_vec"
     548    targ_underscore=yes
     549    ;;
    545550  i[3456]86-*-os2*)
    546     targ_defvec=bfd_elf32_i386_vec
    547     targ_selvecs="bfd_elf32_i386_vec i386aout_emx_vec"
     551    targ_defvec=i386aout_emx_vec
     552    targ_selvecs="i386aout_emx_vec bfd_elf32_i386_vec"
    548553    targ_underscore=yes
    549554    ;;
     
    666671    targ_underscore=yes
    667672    ;;
    668   m68*-*-netbsdelf*) 
     673  m68*-*-netbsdelf*)
    669674    targ_defvec=bfd_elf32_m68k_vec
    670675    targ_selvecs="m68knetbsd_vec m68k4knetbsd_vec hp300bsd_vec sunos_big_vec"
  • trunk/src/binutils/bfd/configure

    • Property cvs2svn:cvs-rev changed from 1.8 to 1.9
    r906 r907  
    22
    33# Guess values for system-dependent variables and create Makefiles.
    4 # Generated automatically using autoconf version 2.13
     4# Generated automatically using autoconf version 2.13 
    55# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
    66#
     
    854854fi
    855855
    856 
     856 
    857857
    858858
     
    22502250  echo $ac_n "(cached) $ac_c" 1>&6
    22512251else
    2252 
     2252 
    22532253     ac_ext=c
    22542254# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     
    23762376exec 5>>./config.log
    23772377
    2378 
    2379 
    2380 
    2381        
    2382        
     2378 
     2379
     2380 
     2381         
     2382         
    23832383
    23842384# Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
     
    24662466
    24672467  echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
    2468 
     2468 
    24692469
    24702470if test $USE_MAINTAINER_MODE = yes; then
     
    24762476fi
    24772477  MAINT=$MAINTAINER_MODE_TRUE
    2478 
     2478 
    24792479
    24802480echo $ac_n "checking whether to install libbfd""... $ac_c" 1>&6
     
    24932493
    24942494  echo "$ac_t""$install_libbfd_p" 1>&6
    2495 
     2495 
    24962496
    24972497if test $install_libbfd_p = yes; then
     
    25092509    bfdincludedir='$(exec_prefix)/$(host_alias)/$(target_alias)/include'
    25102510  fi
    2511 
    2512 
     2511 
     2512 
    25132513
    25142514
     
    30713071if test $ac_cv_c_const = no; then
    30723072  cat >> confdefs.h <<\EOF
    3073 #define const
     3073#define const 
    30743074EOF
    30753075
     
    31073107  inline | yes) ;;
    31083108  no) cat >> confdefs.h <<\EOF
    3109 #define inline
     3109#define inline 
    31103110EOF
    31113111 ;;
     
    34513451#define $ac_tr_hdr 1
    34523452EOF
    3453 
     3453 
    34543454else
    34553455  echo "$ac_t""no" 1>&6
     
    35063506#define $ac_tr_func 1
    35073507EOF
    3508 
     3508 
    35093509else
    35103510  echo "$ac_t""no" 1>&6
     
    36833683fi
    36843684
    3685 
     3685                             
    36863686   for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \
    36873687unistd.h values.h sys/param.h
     
    37203720#define $ac_tr_hdr 1
    37213721EOF
    3722 
     3722 
    37233723else
    37243724  echo "$ac_t""no" 1>&6
     
    37763776#define $ac_tr_func 1
    37773777EOF
    3778 
     3778 
    37793779else
    37803780  echo "$ac_t""no" 1>&6
     
    38333833#define $ac_tr_func 1
    38343834EOF
    3835 
     3835 
    38363836else
    38373837  echo "$ac_t""no" 1>&6
     
    38923892
    38933893    echo "$ac_t""$USE_NLS" 1>&6
    3894 
     3894   
    38953895
    38963896    USE_INCLUDED_LIBINTL=no
     
    41324132#define $ac_tr_func 1
    41334133EOF
    4134 
     4134 
    41354135else
    41364136  echo "$ac_t""no" 1>&6
     
    42424242
    42434243
    4244        
     4244               
    42454245        if test "$CATOBJEXT" = "NONE"; then
    42464246                          nls_cv_use_gnu_gettext=yes
     
    43584358fi
    43594359
    4360 
     4360       
    43614361        USE_INCLUDED_LIBINTL=yes
    43624362        CATOBJEXT=.gmo
     
    43994399    done
    44004400
    4401 
    4402 
    4403 
    4404 
    4405 
    4406 
    4407 
    4408 
    4409 
    4410 
    4411 
    4412 
     4401       
     4402   
     4403   
     4404   
     4405   
     4406   
     4407   
     4408   
     4409   
     4410   
     4411   
     4412 
    44134413
    44144414   if test "x$CATOBJEXT" != "x"; then
     
    44394439/* The system does not provide the header <locale.h>.  Take care yourself.  */"
    44404440   fi
    4441 
     4441   
    44424442
    44434443            if test -f $srcdir/po2tbl.sed.in; then
     
    44924492     GT_YES="#YES#"
    44934493   fi
    4494 
    4495 
     4494   
     4495   
    44964496
    44974497   MKINSTALLDIRS="\$(srcdir)/../../mkinstalldirs"
    4498 
     4498   
    44994499
    45004500      l=
    4501 
     4501   
    45024502
    45034503            if test -f $srcdir/po/POTFILES.in; then
     
    45164516         < $srcdir/po/POTFILES.in > po/POTFILES
    45174517   fi
    4518 
     4518 
    45194519
    45204520# Permit host specific settings.
     
    46784678#define $ac_tr_hdr 1
    46794679EOF
    4680 
     4680 
    46814681else
    46824682  echo "$ac_t""no" 1>&6
     
    47194719#define $ac_tr_hdr 1
    47204720EOF
    4721 
     4721 
    47224722else
    47234723  echo "$ac_t""no" 1>&6
     
    49344934#define $ac_tr_func 1
    49354935EOF
    4936 
     4936 
    49374937else
    49384938  echo "$ac_t""no" 1>&6
     
    52625262  i[3456]86-*-os2*)
    52635263        COREFILE=trad-core.lo
    5264         cat >> confdefs.h <<\EOF
    5265 #define TRAD_HEADER "hosts/i386emx.h"
    5266 EOF
    5267 
     5264        TRAD_HEADER='"hosts/i386emx.h"'
    52685265        ;;
    52695266  i860-*-mach3* | i860-*-osf1*)
     
    53595356        # have c_impl as a member of struct core_dumpx
    53605357        echo $ac_n "checking for c_impl in struct core_dumpx""... $ac_c" 1>&6
    5361 echo "configure:5362: checking for c_impl in struct core_dumpx" >&5
     5358echo "configure:5359: checking for c_impl in struct core_dumpx" >&5
    53625359        cat > conftest.$ac_ext <<EOF
    5363 #line 5364 "configure"
     5360#line 5361 "configure"
    53645361#include "confdefs.h"
    53655362#include <core.h>
     
    53685365; return 0; }
    53695366EOF
    5370 if { (eval echo configure:5371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5367if { (eval echo configure:5368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    53715368  rm -rf conftest*
    53725369  cat >> confdefs.h <<\EOF
     
    54365433ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    54375434echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5438 echo "configure:5439: checking for $ac_hdr" >&5
     5435echo "configure:5436: checking for $ac_hdr" >&5
    54395436if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    54405437  echo $ac_n "(cached) $ac_c" 1>&6
     
    54425439  cat > conftest.$ac_ext <<EOF
    54435440#include <sys/types.h>
    5444 #line 5445 "configure"
     5441#line 5442 "configure"
    54455442#include "confdefs.h"
    54465443#include <$ac_hdr>
    54475444EOF
    54485445ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5449 { (eval echo configure:5450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5446{ (eval echo configure:5447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    54505447ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    54515448if test -z "$ac_err"; then
     
    54675464#define $ac_tr_hdr 1
    54685465EOF
    5469 
     5466 
    54705467else
    54715468  echo "$ac_t""no" 1>&6
     
    54755472  if test "$ac_cv_header_sys_procfs_h" = yes; then
    54765473    echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5477 echo "configure:5478: checking for prstatus_t in sys/procfs.h" >&5
     5474echo "configure:5475: checking for prstatus_t in sys/procfs.h" >&5
    54785475 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then
    54795476  echo $ac_n "(cached) $ac_c" 1>&6
    54805477else
    54815478  cat > conftest.$ac_ext <<EOF
    5482 #line 5483 "configure"
     5479#line 5480 "configure"
    54835480#include "confdefs.h"
    54845481
     
    54895486; return 0; }
    54905487EOF
    5491 if { (eval echo configure:5492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5488if { (eval echo configure:5489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    54925489  rm -rf conftest*
    54935490  bfd_cv_have_sys_procfs_type_prstatus_t=yes
     
    54975494  rm -rf conftest*
    54985495  bfd_cv_have_sys_procfs_type_prstatus_t=no
    5499 
     5496   
    55005497fi
    55015498rm -f conftest*
     
    55115508
    55125509    echo $ac_n "checking for prstatus32_t in sys/procfs.h""... $ac_c" 1>&6
    5513 echo "configure:5514: checking for prstatus32_t in sys/procfs.h" >&5
     5510echo "configure:5511: checking for prstatus32_t in sys/procfs.h" >&5
    55145511 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus32_t'+set}'`\" = set"; then
    55155512  echo $ac_n "(cached) $ac_c" 1>&6
    55165513else
    55175514  cat > conftest.$ac_ext <<EOF
    5518 #line 5519 "configure"
     5515#line 5516 "configure"
    55195516#include "confdefs.h"
    55205517
     
    55255522; return 0; }
    55265523EOF
    5527 if { (eval echo configure:5528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5524if { (eval echo configure:5525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55285525  rm -rf conftest*
    55295526  bfd_cv_have_sys_procfs_type_prstatus32_t=yes
     
    55335530  rm -rf conftest*
    55345531  bfd_cv_have_sys_procfs_type_prstatus32_t=no
    5535 
     5532   
    55365533fi
    55375534rm -f conftest*
     
    55475544
    55485545    echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
    5549 echo "configure:5550: checking for prstatus_t.pr_who in sys/procfs.h" >&5
     5546echo "configure:5547: checking for prstatus_t.pr_who in sys/procfs.h" >&5
    55505547 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then
    55515548  echo $ac_n "(cached) $ac_c" 1>&6
    55525549else
    55535550  cat > conftest.$ac_ext <<EOF
    5554 #line 5555 "configure"
     5551#line 5552 "configure"
    55555552#include "confdefs.h"
    55565553
     
    55615558; return 0; }
    55625559EOF
    5563 if { (eval echo configure:5564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5560if { (eval echo configure:5561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    55645561  rm -rf conftest*
    55655562  bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
     
    55695566  rm -rf conftest*
    55705567  bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
    5571 
     5568   
    55725569fi
    55735570rm -f conftest*
     
    55835580
    55845581    echo $ac_n "checking for prstatus32_t.pr_who in sys/procfs.h""... $ac_c" 1>&6
    5585 echo "configure:5586: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
     5582echo "configure:5583: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
    55865583 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who'+set}'`\" = set"; then
    55875584  echo $ac_n "(cached) $ac_c" 1>&6
    55885585else
    55895586  cat > conftest.$ac_ext <<EOF
    5590 #line 5591 "configure"
     5587#line 5588 "configure"
    55915588#include "confdefs.h"
    55925589
     
    55975594; return 0; }
    55985595EOF
    5599 if { (eval echo configure:5600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5596if { (eval echo configure:5597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56005597  rm -rf conftest*
    56015598  bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
     
    56055602  rm -rf conftest*
    56065603  bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
    5607 
     5604   
    56085605fi
    56095606rm -f conftest*
     
    56195616
    56205617    echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5621 echo "configure:5622: checking for pstatus_t in sys/procfs.h" >&5
     5618echo "configure:5619: checking for pstatus_t in sys/procfs.h" >&5
    56225619 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then
    56235620  echo $ac_n "(cached) $ac_c" 1>&6
    56245621else
    56255622  cat > conftest.$ac_ext <<EOF
    5626 #line 5627 "configure"
     5623#line 5624 "configure"
    56275624#include "confdefs.h"
    56285625
     
    56335630; return 0; }
    56345631EOF
    5635 if { (eval echo configure:5636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5632if { (eval echo configure:5633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56365633  rm -rf conftest*
    56375634  bfd_cv_have_sys_procfs_type_pstatus_t=yes
     
    56415638  rm -rf conftest*
    56425639  bfd_cv_have_sys_procfs_type_pstatus_t=no
    5643 
     5640   
    56445641fi
    56455642rm -f conftest*
     
    56555652
    56565653    echo $ac_n "checking for pxstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5657 echo "configure:5658: checking for pxstatus_t in sys/procfs.h" >&5
     5654echo "configure:5655: checking for pxstatus_t in sys/procfs.h" >&5
    56585655 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pxstatus_t'+set}'`\" = set"; then
    56595656  echo $ac_n "(cached) $ac_c" 1>&6
    56605657else
    56615658  cat > conftest.$ac_ext <<EOF
    5662 #line 5663 "configure"
     5659#line 5660 "configure"
    56635660#include "confdefs.h"
    56645661
     
    56695666; return 0; }
    56705667EOF
    5671 if { (eval echo configure:5672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5668if { (eval echo configure:5669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    56725669  rm -rf conftest*
    56735670  bfd_cv_have_sys_procfs_type_pxstatus_t=yes
     
    56775674  rm -rf conftest*
    56785675  bfd_cv_have_sys_procfs_type_pxstatus_t=no
    5679 
     5676   
    56805677fi
    56815678rm -f conftest*
     
    56915688
    56925689    echo $ac_n "checking for pstatus32_t in sys/procfs.h""... $ac_c" 1>&6
    5693 echo "configure:5694: checking for pstatus32_t in sys/procfs.h" >&5
     5690echo "configure:5691: checking for pstatus32_t in sys/procfs.h" >&5
    56945691 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus32_t'+set}'`\" = set"; then
    56955692  echo $ac_n "(cached) $ac_c" 1>&6
    56965693else
    56975694  cat > conftest.$ac_ext <<EOF
    5698 #line 5699 "configure"
     5695#line 5696 "configure"
    56995696#include "confdefs.h"
    57005697
     
    57055702; return 0; }
    57065703EOF
    5707 if { (eval echo configure:5708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5704if { (eval echo configure:5705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    57085705  rm -rf conftest*
    57095706  bfd_cv_have_sys_procfs_type_pstatus32_t=yes
     
    57135710  rm -rf conftest*
    57145711  bfd_cv_have_sys_procfs_type_pstatus32_t=no
    5715 
     5712   
    57165713fi
    57175714rm -f conftest*
     
    57275724
    57285725    echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6
    5729 echo "configure:5730: checking for prpsinfo_t in sys/procfs.h" >&5
     5726echo "configure:5727: checking for prpsinfo_t in sys/procfs.h" >&5
    57305727 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then
    57315728  echo $ac_n "(cached) $ac_c" 1>&6
    57325729else
    57335730  cat > conftest.$ac_ext <<EOF
    5734 #line 5735 "configure"
     5731#line 5732 "configure"
    57355732#include "confdefs.h"
    57365733
     
    57415738; return 0; }
    57425739EOF
    5743 if { (eval echo configure:5744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5740if { (eval echo configure:5741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    57445741  rm -rf conftest*
    57455742  bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
     
    57495746  rm -rf conftest*
    57505747  bfd_cv_have_sys_procfs_type_prpsinfo_t=no
    5751 
     5748   
    57525749fi
    57535750rm -f conftest*
     
    57635760
    57645761    echo $ac_n "checking for prpsinfo32_t in sys/procfs.h""... $ac_c" 1>&6
    5765 echo "configure:5766: checking for prpsinfo32_t in sys/procfs.h" >&5
     5762echo "configure:5763: checking for prpsinfo32_t in sys/procfs.h" >&5
    57665763 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo32_t'+set}'`\" = set"; then
    57675764  echo $ac_n "(cached) $ac_c" 1>&6
    57685765else
    57695766  cat > conftest.$ac_ext <<EOF
    5770 #line 5771 "configure"
     5767#line 5768 "configure"
    57715768#include "confdefs.h"
    57725769
     
    57775774; return 0; }
    57785775EOF
    5779 if { (eval echo configure:5780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5776if { (eval echo configure:5777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    57805777  rm -rf conftest*
    57815778  bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
     
    57855782  rm -rf conftest*
    57865783  bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
    5787 
     5784   
    57885785fi
    57895786rm -f conftest*
     
    57995796
    58005797    echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6
    5801 echo "configure:5802: checking for psinfo_t in sys/procfs.h" >&5
     5798echo "configure:5799: checking for psinfo_t in sys/procfs.h" >&5
    58025799 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then
    58035800  echo $ac_n "(cached) $ac_c" 1>&6
    58045801else
    58055802  cat > conftest.$ac_ext <<EOF
    5806 #line 5807 "configure"
     5803#line 5804 "configure"
    58075804#include "confdefs.h"
    58085805
     
    58135810; return 0; }
    58145811EOF
    5815 if { (eval echo configure:5816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5812if { (eval echo configure:5813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    58165813  rm -rf conftest*
    58175814  bfd_cv_have_sys_procfs_type_psinfo_t=yes
     
    58215818  rm -rf conftest*
    58225819  bfd_cv_have_sys_procfs_type_psinfo_t=no
    5823 
     5820   
    58245821fi
    58255822rm -f conftest*
     
    58355832
    58365833    echo $ac_n "checking for psinfo32_t in sys/procfs.h""... $ac_c" 1>&6
    5837 echo "configure:5838: checking for psinfo32_t in sys/procfs.h" >&5
     5834echo "configure:5835: checking for psinfo32_t in sys/procfs.h" >&5
    58385835 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo32_t'+set}'`\" = set"; then
    58395836  echo $ac_n "(cached) $ac_c" 1>&6
    58405837else
    58415838  cat > conftest.$ac_ext <<EOF
    5842 #line 5843 "configure"
     5839#line 5840 "configure"
    58435840#include "confdefs.h"
    58445841
     
    58495846; return 0; }
    58505847EOF
    5851 if { (eval echo configure:5852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5848if { (eval echo configure:5849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    58525849  rm -rf conftest*
    58535850  bfd_cv_have_sys_procfs_type_psinfo32_t=yes
     
    58575854  rm -rf conftest*
    58585855  bfd_cv_have_sys_procfs_type_psinfo32_t=no
    5859 
     5856   
    58605857fi
    58615858rm -f conftest*
     
    58715868
    58725869    echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5873 echo "configure:5874: checking for lwpstatus_t in sys/procfs.h" >&5
     5870echo "configure:5871: checking for lwpstatus_t in sys/procfs.h" >&5
    58745871 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then
    58755872  echo $ac_n "(cached) $ac_c" 1>&6
    58765873else
    58775874  cat > conftest.$ac_ext <<EOF
    5878 #line 5879 "configure"
     5875#line 5876 "configure"
    58795876#include "confdefs.h"
    58805877
     
    58855882; return 0; }
    58865883EOF
    5887 if { (eval echo configure:5888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5884if { (eval echo configure:5885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    58885885  rm -rf conftest*
    58895886  bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
     
    58935890  rm -rf conftest*
    58945891  bfd_cv_have_sys_procfs_type_lwpstatus_t=no
    5895 
     5892   
    58965893fi
    58975894rm -f conftest*
     
    59075904
    59085905    echo $ac_n "checking for lwpxstatus_t in sys/procfs.h""... $ac_c" 1>&6
    5909 echo "configure:5910: checking for lwpxstatus_t in sys/procfs.h" >&5
     5906echo "configure:5907: checking for lwpxstatus_t in sys/procfs.h" >&5
    59105907 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpxstatus_t'+set}'`\" = set"; then
    59115908  echo $ac_n "(cached) $ac_c" 1>&6
    59125909else
    59135910  cat > conftest.$ac_ext <<EOF
    5914 #line 5915 "configure"
     5911#line 5912 "configure"
    59155912#include "confdefs.h"
    59165913
     
    59215918; return 0; }
    59225919EOF
    5923 if { (eval echo configure:5924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5920if { (eval echo configure:5921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    59245921  rm -rf conftest*
    59255922  bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
     
    59295926  rm -rf conftest*
    59305927  bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
    5931 
     5928   
    59325929fi
    59335930rm -f conftest*
     
    59435940
    59445941    echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6
    5945 echo "configure:5946: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
     5942echo "configure:5943: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
    59465943 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then
    59475944  echo $ac_n "(cached) $ac_c" 1>&6
    59485945else
    59495946  cat > conftest.$ac_ext <<EOF
    5950 #line 5951 "configure"
     5947#line 5948 "configure"
    59515948#include "confdefs.h"
    59525949
     
    59575954; return 0; }
    59585955EOF
    5959 if { (eval echo configure:5960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5956if { (eval echo configure:5957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    59605957  rm -rf conftest*
    59615958  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
     
    59655962  rm -rf conftest*
    59665963  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
    5967 
     5964   
    59685965fi
    59695966rm -f conftest*
     
    59795976
    59805977    echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6
    5981 echo "configure:5982: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
     5978echo "configure:5979: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
    59825979 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then
    59835980  echo $ac_n "(cached) $ac_c" 1>&6
    59845981else
    59855982  cat > conftest.$ac_ext <<EOF
    5986 #line 5987 "configure"
     5983#line 5984 "configure"
    59875984#include "confdefs.h"
    59885985
     
    59935990; return 0; }
    59945991EOF
    5995 if { (eval echo configure:5996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     5992if { (eval echo configure:5993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    59965993  rm -rf conftest*
    59975994  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
     
    60015998  rm -rf conftest*
    60025999  bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
    6003 
     6000   
    60046001fi
    60056002rm -f conftest*
     
    60156012
    60166013    echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6
    6017 echo "configure:6018: checking for win32_pstatus_t in sys/procfs.h" >&5
     6014echo "configure:6015: checking for win32_pstatus_t in sys/procfs.h" >&5
    60186015 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then
    60196016  echo $ac_n "(cached) $ac_c" 1>&6
    60206017else
    60216018  cat > conftest.$ac_ext <<EOF
    6022 #line 6023 "configure"
     6019#line 6020 "configure"
    60236020#include "confdefs.h"
    60246021
     
    60296026; return 0; }
    60306027EOF
    6031 if { (eval echo configure:6032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     6028if { (eval echo configure:6029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    60326029  rm -rf conftest*
    60336030  bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
     
    60376034  rm -rf conftest*
    60386035  bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
    6039 
     6036   
    60406037fi
    60416038rm -f conftest*
     
    65066503       bad_64bit_gcc=no;
    65076504       echo $ac_n "checking for gcc version with buggy 64-bit support""... $ac_c" 1>&6
    6508 echo "configure:6509: checking for gcc version with buggy 64-bit support" >&5
     6505echo "configure:6506: checking for gcc version with buggy 64-bit support" >&5
    65096506       # Add more tests for gcc versions with non-working 64-bit support here.
    65106507       cat > conftest.$ac_ext <<EOF
    6511 #line 6512 "configure"
     6508#line 6509 "configure"
    65126509#include "confdefs.h"
    65136510:__GNUC__:__GNUC_MINOR__:__i386__:
     
    65556552ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    65566553echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    6557 echo "configure:6558: checking for $ac_hdr" >&5
     6554echo "configure:6555: checking for $ac_hdr" >&5
    65586555if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    65596556  echo $ac_n "(cached) $ac_c" 1>&6
     
    65616558  cat > conftest.$ac_ext <<EOF
    65626559#include <sys/types.h>
    6563 #line 6564 "configure"
     6560#line 6561 "configure"
    65646561#include "confdefs.h"
    65656562#include <$ac_hdr>
    65666563EOF
    65676564ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    6568 { (eval echo configure:6569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     6565{ (eval echo configure:6566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    65696566ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    65706567if test -z "$ac_err"; then
     
    65866583#define $ac_tr_hdr 1
    65876584EOF
    6588 
     6585 
    65896586else
    65906587  echo "$ac_t""no" 1>&6
     
    65956592do
    65966593echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    6597 echo "configure:6598: checking for $ac_func" >&5
     6594echo "configure:6595: checking for $ac_func" >&5
    65986595if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    65996596  echo $ac_n "(cached) $ac_c" 1>&6
    66006597else
    66016598  cat > conftest.$ac_ext <<EOF
    6602 #line 6603 "configure"
     6599#line 6600 "configure"
    66036600#include "confdefs.h"
    66046601/* System header to define __stub macros and hopefully few prototypes,
     
    66236620; return 0; }
    66246621EOF
    6625 if { (eval echo configure:6626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6622if { (eval echo configure:6623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    66266623  rm -rf conftest*
    66276624  eval "ac_cv_func_$ac_func=yes"
     
    66416638#define $ac_tr_func 1
    66426639EOF
    6643 
     6640 
    66446641else
    66456642  echo "$ac_t""no" 1>&6
     
    66486645
    66496646echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    6650 echo "configure:6651: checking for working mmap" >&5
     6647echo "configure:6648: checking for working mmap" >&5
    66516648if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    66526649  echo $ac_n "(cached) $ac_c" 1>&6
     
    66566653else
    66576654  cat > conftest.$ac_ext <<EOF
    6658 #line 6659 "configure"
     6655#line 6656 "configure"
    66596656#include "confdefs.h"
    66606657
     
    67966793
    67976794EOF
    6798 if { (eval echo configure:6799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     6795if { (eval echo configure:6796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    67996796then
    68006797  ac_cv_func_mmap_fixed_mapped=yes
     
    68216818do
    68226819echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    6823 echo "configure:6824: checking for $ac_func" >&5
     6820echo "configure:6821: checking for $ac_func" >&5
    68246821if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    68256822  echo $ac_n "(cached) $ac_c" 1>&6
    68266823else
    68276824  cat > conftest.$ac_ext <<EOF
    6828 #line 6829 "configure"
     6825#line 6826 "configure"
    68296826#include "confdefs.h"
    68306827/* System header to define __stub macros and hopefully few prototypes,
     
    68496846; return 0; }
    68506847EOF
    6851 if { (eval echo configure:6852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     6848if { (eval echo configure:6849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    68526849  rm -rf conftest*
    68536850  eval "ac_cv_func_$ac_func=yes"
     
    68676864#define $ac_tr_func 1
    68686865EOF
    6869 
     6866 
    68706867else
    68716868  echo "$ac_t""no" 1>&6
  • trunk/src/binutils/bfd/configure.in

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r906 r907  
    709709    i386netbsd_vec)             tb="$tb i386netbsd.lo aout32.lo" ;;
    710710    i386os9k_vec)               tb="$tb i386os9k.lo aout32.lo" ;;
    711     i386aout_emx_vec)           tb="$tb i386aoutemx.lo" ;;
     711    i386aout_emx_vec)           tb="$tb i386aoutemx.lo aout32.lo" ;;
    712712    i386pe_vec)                 tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
    713713    i386pei_vec)                tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
  • trunk/src/binutils/bfd/hosts/i386emx.h

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r906 r907  
    11/* Intel ix86 running OS/2 or DOS */
    22
    3 #define HOST_PAGE_SIZE          0x1000
    4 #define HOST_SEGMENT_SIZE       0x10000
    5 #define HOST_TEXT_START_ADDR    0x10000
    6 #define HOST_STACK_END_ADDR     0x80000000
     3#ifndef __I386EMX__H__
     4#define __I386EMX__H__
     5
     6#define EMX
     7
     8#define DEFAULT_ARCH            bfd_arch_i386
     9
     10#define TARGET_PAGE_SIZE        0x1000
     11#define TARGET_SEGMENT_SIZE     0x10000
     12#define TEXT_START_ADDR         0x10000
     13#define TARGET_STACK_END_ADDR   0x80000000
     14
     15#define HOST_PAGE_SIZE          0x1000
     16#define HOST_SEGMENT_SIZE       0x10000
     17#define HOST_TEXT_START_ADDR    0x10000
     18#define HOST_STACK_END_ADDR     0x80000000
     19
     20
     21#define ZMAGIC_DISK_BLOCK_SIZE  1024
     22#define BYTES_IN_WORD           4
     23#define NO_CORE_COMMAND
     24
     25#define MY(OP)                  CONCAT2(i386aout_emx_,OP)
     26#define TARGETNAME              "a.out-emx"
     27#define NO_WRITE_HEADER_KLUDGE  1
     28
     29/* a.out executables emx-specific header */
     30struct exec
     31{
     32  unsigned long a_info;         /* Use macros N_MAGIC, etc for access */
     33  unsigned a_text;              /* length of text, in bytes */
     34  unsigned a_data;              /* length of data, in bytes */
     35  unsigned a_bss;               /* length of uninitialized data area for file, in bytes */
     36  unsigned a_syms;              /* length of symbol table data in file, in bytes */
     37  unsigned a_entry;             /* start address */
     38  unsigned a_trsize;            /* length of relocation info for text, in bytes */
     39  unsigned a_drsize;            /* length of relocation info for data, in bytes */
     40};
     41
     42#define N_HEADER_IN_TEXT(x) 0
     43
     44#define N_TXTOFF(x)     \
     45    (N_MAGIC(x) != ZMAGIC ? EXEC_BYTES_SIZE : /* object file or NMAGIC */\
     46     N_SHARED_LIB(x) ? 0 : \
     47     N_HEADER_IN_TEXT(x) ?      \
     48            EXEC_BYTES_SIZE :                   /* no padding */\
     49            0x400 + (x).a_hdrofs \
     50    )
     51
     52#define N_DATOFF(x) (N_TXTOFF(x) + N_TXTSIZE(x))
     53
     54#define IS_STAB(flags) (((flags) & N_STAB) \
     55        && (flags) != (N_IMP1|N_EXT) && (flags) != (N_IMP2|N_EXT))
     56
     57#endif /* __I386EMX__H__ */
  • trunk/src/binutils/bfd/i386aoutemx.c

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r906 r907  
    1818Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    1919
    20 #define EMX
     20#include "sysdep.h"
     21#ifdef TRAD_HEADER
     22#include TRAD_HEADER
     23#endif
     24#include "bfd.h"
     25#include "libbfd.h"
     26#include "libaout.h"
     27#ifndef EMX
     28#error "EMX TARGET! EMX isn't defined!!!"
     29#endif
    2130
    22 #define ARCH_SIZE               32
    23 #define DEFAULT_ARCH            bfd_arch_i386
    24 
    25 #define TEXT_START_ADDR         0x10000
    26 #define TARGET_PAGE_SIZE        0x1000
    27 #define TARGET_SEGMENT_SIZE     0x10000
    28 #define TARGET_STACK_END_ADDR   0x80000000
    29 
    30 #define ZMAGIC_DISK_BLOCK_SIZE  1024
    31 #define BYTES_IN_WORD           4
    32 #define NO_CORE_COMMAND
    33 
    34 #define MY(OP)                  CONCAT2(i386aout_emx_,OP)
    35 #define TARGETNAME              "a.out-emx"
    36 
    37 #define IS_STAB(flags) (((flags) & N_STAB) \
    38         && (flags) != (N_IMP1|N_EXT) && (flags) != (N_IMP2|N_EXT))
    39 
    40 #include "aout/aoutemx.h"
    41 #include "aoutx.h"
    42 
    43 #define MY_object_p             MY(object_p)
     31#define MY_object_p MY(object_p)
    4432#define MY_backend_data &MY(backend_data)
    4533
  • trunk/src/binutils/bfd/libaout.h

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r906 r907  
    2323#ifndef LIBAOUT_H
    2424#define LIBAOUT_H
     25
     26/* !! NASTY HACK !! */
     27#ifdef __EMX__
     28#include "config.h"
     29#ifdef TRAD_HEADER
     30#include TRAD_HEADER
     31#endif
     32#endif
    2533
    2634/* We try to encapsulate the differences in the various a.out file
     
    253261{
    254262    long a_info;                /* Magic number and flags, packed */
    255 #if defined (EMX)
     263#ifdef EMX
    256264    long a_hdrofs;              /* Offset from file start to a.out header */
     265#else
     266/** remove me **/
     267#ifdef __EMX__
     268#error "error EMX is not defined!!!"
     269#endif
     270/** remove me **/
    257271#endif
    258272    bfd_vma a_text;             /* length of text, in bytes  */
  • trunk/src/binutils/bfd/sysdep.h

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r906 r907  
    2626
    2727#include "config.h"
     28
     29#ifdef __EMX__ /* r=bird: hmm seen this before. */
     30#ifdef TRAD_HEADER
     31#include TRAD_HEADER
     32#endif
     33#endif /* __EMX__ */
    2834
    2935#ifdef HAVE_STDDEF_H
  • trunk/src/binutils/gas/as.c

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r906 r907  
    224224
    225225#ifdef BFD_ASSEMBLER
    226   fprintf (stderr, _("GNU assembler version %s (%s) using BFD version %s"),
     226  fprintf (stderr, _("GNU assembler version %s (%s) using BFD version %s (Innotek Build 2003-12-15 21:40)"),
    227227           VERSION, TARGET_ALIAS, BFD_VERSION_STRING);
    228228#else
     
    546546          /* This output is intended to follow the GNU standards document.  */
    547547#ifdef BFD_ASSEMBLER
    548           printf (_("GNU assembler %s\n"), BFD_VERSION_STRING);
     548          printf (_("GNU assembler %s (Innotek Build 2003-12-15 21:40)\n"), BFD_VERSION_STRING);
    549549#else
    550           printf (_("GNU assembler %s\n"), VERSION);
     550          printf (_("GNU assembler %s (Innotek Build 2003-12-15 21:40)\n"), VERSION);
    551551#endif
    552552          printf (_("Copyright 2002 Free Software Foundation, Inc.\n"));
  • trunk/src/binutils/include/aout/aout64.h

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r906 r907  
    77   the Free Software Foundation; either version 2 of the License, or
    88   (at your option) any later version.
    9    
     9
    1010   This program is distributed in the hope that it will be useful,
    1111   but WITHOUT ANY WARRANTY; without even the implied warranty of
    1212   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1313   GNU General Public License for more details.
    14    
     14
    1515   You should have received a copy of the GNU General Public License
    1616   along with this program; if not, write to the Free Software
     
    2727
    2828#ifndef external_exec
    29 struct external_exec 
     29struct external_exec
    3030{
    3131  bfd_byte e_info[4];               /* Magic number and stuff.  */
     
    334334#define N_WEAKB 0x11            /* Weak bss symbol.  */
    335335
    336 /* Relocations
     336/* emx-specific symbols.  */
     337#define N_IMP1 0x68             /* Import reference (emx specific) */
     338#define N_IMP2 0x6a             /* Import definition (emx specific) */
     339
     340/* Relocations
    337341
    338342  There are two types of relocation flavours for a.out systems,
     
    484488  RELOC_HHI22,                  /* data[0:21] = (addend + sv) >> 42     */
    485489  RELOC_HLO10,                  /* data[0:9] = (addend + sv) >> 32      */
    486  
     490
    487491  /* 29K relocation types.  */
    488492  RELOC_JUMPTARG,
    489493  RELOC_CONST,
    490494  RELOC_CONSTH,
    491  
     495
    492496  /* All the new ones I can think of, for sparc v9.  */
    493497  RELOC_64,                     /* data[0:63] = addend + sv             */
Note: See TracChangeset for help on using the changeset viewer.