aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorPhil Edwards <phil@codesourcery.com>2005-08-24 07:13:10 +0000
committerPhil Edwards <pme@gcc.gnu.org>2005-08-24 07:13:10 +0000
commit2eab15c97414cf1358106b009a4edd7f5f6151b1 (patch)
tree043e6201134ccf2fb879689b66262419aefab937 /gcc/config.gcc
parent7307936052bc73e87f5bb6ddeefcb6c2ed327094 (diff)
downloadgcc-2eab15c97414cf1358106b009a4edd7f5f6151b1.zip
gcc-2eab15c97414cf1358106b009a4edd7f5f6151b1.tar.gz
gcc-2eab15c97414cf1358106b009a4edd7f5f6151b1.tar.bz2
config.gcc (*-*-vxworks*): Update tm_file, add extra_options, remove use_collect2.
2005-08-22 Phil Edwards <phil@codesourcery.com> * config.gcc (*-*-vxworks*): Update tm_file, add extra_options, remove use_collect2. (powerpc-wrs-vxworks): Update, split out *-*-vxworksae target. * target-def.h (TARGET_HAVE_CTORS_DTORS): Allow target configuration files to override the default value. * config/t-vxworks: Remove INSTALL_ASSERT_H. Define STMP_FIXPROTO, EXTRA_HEADERS, and EXTRA_MULTILIB_PARTS. * config/vx-common.h: New file, split out from... * config/vxworks.h: here. Update for VxWorks 6.x and RTP mode. * config/vxworksae.h: New file, for VxWorks AE. * config/vxworks.opt: New file. * config/vxlib.c: Update for VxWorks 6. * config/rs6000/t-vxworks (MULTILIB_OPTIONS): New list. Adjust other MULTILIB_* variables appropriately. (LIB2FUNCS_EXTRA, EXTRA_MULTILIB_PARTS): Correct from t-ppccomm. * config/rs6000/t-vxworksae: New file, adjust multilibs for AE. * config/rs6000/vxworks.h: Update for VxWorks 6. * config/rs6000/vxworksae.h: New file, mostly placeholder for now. From-SVN: r103432
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc26
1 files changed, 17 insertions, 9 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index dde53d7..f728132 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -533,14 +533,14 @@ case ${target} in
;;
*-*-vxworks*)
tmake_file=t-vxworks
- tm_file="${tm_file} elfos.h svr4.h vxworks.h"
+ tm_file="${tm_file} elfos.h svr4.h"
+ xm_defines=POSIX
+ extra_options="${extra_options} vxworks.opt"
case ${enable_threads} in
no) ;;
"" | yes | vxworks) thread_file='vxworks' ;;
*) echo 'Unknown thread configuration for VxWorks'; exit 1 ;;
esac
- use_collect2=yes
- xm_defines=POSIX
;;
esac
@@ -1722,22 +1722,30 @@ powerpc-*-gnu*)
thread_file='posix'
fi
;;
-powerpc-wrs-vxworks*)
+powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
# We want vxworks.h after rs6000/sysv4.h, which unfortunately
# means we have to redo the tm_file list from scratch.
tm_file="rs6000/rs6000.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
- tm_file="${tm_file} vxworks.h rs6000/vxworks.h"
tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-ppccomm rs6000/t-vxworks"
extra_options="${extra_options} rs6000/sysv4.opt"
extra_headers=ppc-asm.h
+ case ${target} in
+ *-vxworksae*)
+ tm_file="${tm_file} vx-common.h vxworksae.h rs6000/vxworks.h rs6000/vxworksae.h"
+ tmake_file="${tmake_file} rs6000/t-vxworksae"
+ ;;
+ *-vxworks*)
+ tm_file="${tm_file} vx-common.h vxworks.h rs6000/vxworks.h"
+ ;;
+ esac
;;
-powerpc-wrs-windiss*) # Instruction-level simulator for VxWorks.
+powerpc-wrs-windiss*) # Instruction-level simulator for VxWorks.
tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/windiss.h"
- tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
+ tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
extra_options="${extra_options} rs6000/sysv4.opt"
- thread_file=""
+ thread_file=""
use_fixproto=yes
- ;;
+ ;;
powerpc-*-lynxos*)
xm_defines=POSIX
tm_file="${tm_file} dbxelf.h elfos.h rs6000/sysv4.h rs6000/lynx.h lynx.h"