From b6e06ab020ecf0c880bbd85fe0f30e383f105c4f Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 30 Sep 2008 17:22:53 +0300 Subject: [PATCH] architecture: moved */gcc-options.in to gcc package --- architecture/alpha/gcc-options.in | 18 ---------------- architecture/arm/gcc-options.in | 20 ------------------ architecture/hppa/gcc-options.in | 18 ---------------- architecture/hppa64/gcc-options.in | 18 ---------------- architecture/mips/gcc-options.in | 18 ---------------- architecture/mips64/gcc-options.in | 18 ---------------- architecture/powerpc/gcc-options.in | 21 ------------------- architecture/powerpc64/gcc-options.in | 20 ------------------ architecture/sh/gcc-options.in | 26 ----------------------- architecture/sh64/gcc-options.in | 23 -------------------- architecture/sparc/gcc-options.in | 26 ----------------------- architecture/sparc64/gcc-options.in | 20 ------------------ architecture/x86-64/gcc-options.in | 22 -------------------- architecture/x86/gcc-options.in | 30 --------------------------- 14 files changed, 298 deletions(-) delete mode 100644 architecture/alpha/gcc-options.in delete mode 100644 architecture/arm/gcc-options.in delete mode 100644 architecture/hppa/gcc-options.in delete mode 100644 architecture/hppa64/gcc-options.in delete mode 100644 architecture/mips/gcc-options.in delete mode 100644 architecture/mips64/gcc-options.in delete mode 100644 architecture/powerpc/gcc-options.in delete mode 100644 architecture/powerpc64/gcc-options.in delete mode 100644 architecture/sh/gcc-options.in delete mode 100644 architecture/sh64/gcc-options.in delete mode 100644 architecture/sparc/gcc-options.in delete mode 100644 architecture/sparc64/gcc-options.in delete mode 100644 architecture/x86-64/gcc-options.in delete mode 100644 architecture/x86/gcc-options.in diff --git a/architecture/alpha/gcc-options.in b/architecture/alpha/gcc-options.in deleted file mode 100644 index 2809626..0000000 --- a/architecture/alpha/gcc-options.in +++ /dev/null @@ -1,18 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/alpha/gcc-options.in -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -if [ $SDECFG_ALPHA_OPT != generic ] ; then - var_append GCC3_WRAPPER_INSERT " " \ - "-mtune=$SDECFG_ALPHA_OPT" -fi diff --git a/architecture/arm/gcc-options.in b/architecture/arm/gcc-options.in deleted file mode 100644 index c2e60da..0000000 --- a/architecture/arm/gcc-options.in +++ /dev/null @@ -1,20 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/arm/gcc-options.in -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -[ "$SDECFG_ARM_OPT" != generic ] && - var_append GCC_WRAPPER_INSERT " " "-mcpu=$SDECFG_ARM_OPT" - -[ "$SDECFG_ARM_THUMB" = 1 ] && - var_append GCC_WRAPPER_INSERT " " "-mthumb -mthumb-interwork -D__arm__" - diff --git a/architecture/hppa/gcc-options.in b/architecture/hppa/gcc-options.in deleted file mode 100644 index b88a471..0000000 --- a/architecture/hppa/gcc-options.in +++ /dev/null @@ -1,18 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/hppa/gcc-options.in -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -if [ "$SDECFG_HPPA_OPT" != "generic" ] ; then - var_append GCC_WRAPPER_INSERT " " "-mcpu=$SDECFG_HPPA_OPT" -fi - diff --git a/architecture/hppa64/gcc-options.in b/architecture/hppa64/gcc-options.in deleted file mode 100644 index 93e673d..0000000 --- a/architecture/hppa64/gcc-options.in +++ /dev/null @@ -1,18 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/hppa64/gcc-options.in -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -if [ "$SDECFG_HPPA64_OPT" != "generic" ] ; then - var_append GCC_WRAPPER_INSERT " " "-mcpu=$SDECFG_HPPA64_OPT" -fi - diff --git a/architecture/mips/gcc-options.in b/architecture/mips/gcc-options.in deleted file mode 100644 index 9ee3cee..0000000 --- a/architecture/mips/gcc-options.in +++ /dev/null @@ -1,18 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/mips/gcc-options.in -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -if [ $SDECFG_MIPS_OPT != generic ] ; then - var_append GCC_WRAPPER_INSERT " " "-march=$SDECFG_MIPS_OPT" -fi - diff --git a/architecture/mips64/gcc-options.in b/architecture/mips64/gcc-options.in deleted file mode 100644 index c7a7658..0000000 --- a/architecture/mips64/gcc-options.in +++ /dev/null @@ -1,18 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/mips64/gcc-options.in -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -if [ $SDECFG_MIPS64_OPT != generic ] ; then - var_append GCC_WRAPPER_INSERT " " "-march=$SDECFG_MIPS64_OPT" -fi - diff --git a/architecture/powerpc/gcc-options.in b/architecture/powerpc/gcc-options.in deleted file mode 100644 index fa425d2..0000000 --- a/architecture/powerpc/gcc-options.in +++ /dev/null @@ -1,21 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/powerpc/gcc-options.in -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -if [ "$SDECFG_POWERPC_ISA" ] ; then - var_append GCC_WRAPPER_INSERT " " "-mcpu=$SDECFG_POWERPC_ISA" -fi - -if [ "$SDECFG_POWERPC_OPT" != "generic" ] ; then - var_append GCC_WRAPPER_INSERT " " "-mtune=$SDECFG_POWERPC_OPT" -fi diff --git a/architecture/powerpc64/gcc-options.in b/architecture/powerpc64/gcc-options.in deleted file mode 100644 index c74b46c..0000000 --- a/architecture/powerpc64/gcc-options.in +++ /dev/null @@ -1,20 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/powerpc64/gcc-options.in -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -if [ "$SDECFG_POWERPC64_OPT" != "generic" ] ; then - var_append GCC_WRAPPER_INSERT " " "-mcpu=$SDECFG_POWERPC64_OPT" -else - var_append GCC_WRAPPER_INSERT " " "-mcpu=powerpc64" -fi - diff --git a/architecture/sh/gcc-options.in b/architecture/sh/gcc-options.in deleted file mode 100644 index 39dfa84..0000000 --- a/architecture/sh/gcc-options.in +++ /dev/null @@ -1,26 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/sh/gcc-options.in -# Copyright (C) 2008 The OpenSDE Project -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -if [ "$SDECFG_SH_OPT" ] ; then - opt= - case "$SDECFG_SH_OPT" in - sh) opt="-m1" ;; - sh2) opt="-m2" ;; - sh3) opt="-m3" ;; - sh4) opt="-m4" ;; - esac - var_append GCC_WRAPPER_INSERT " " "$opt" -fi - diff --git a/architecture/sh64/gcc-options.in b/architecture/sh64/gcc-options.in deleted file mode 100644 index 37d9f06..0000000 --- a/architecture/sh64/gcc-options.in +++ /dev/null @@ -1,23 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/sh64/gcc-options.in -# Copyright (C) 2008 The OpenSDE Project -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -if [ "$SDECFG_SH64_OPT" ] ; then - opt= - case "$SDECFG_SH64_OPT" in - sh5) opt="-m5" ;; - esac - var_append GCC_WRAPPER_INSERT " " "$opt" -fi - diff --git a/architecture/sparc/gcc-options.in b/architecture/sparc/gcc-options.in deleted file mode 100644 index f2292fe..0000000 --- a/architecture/sparc/gcc-options.in +++ /dev/null @@ -1,26 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/sparc/gcc-options.in -# Copyright (C) 2008 The OpenSDE Project -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -if [ "$SDECFG_SPARC_OPT" ] ; then - opt= - case "$SDECFG_SPARC_OPT" in - v7) opt="-mcpu=cypress -mtune=cypress" ;; - v8) opt="-mcpu=supersparc -mtune=supersparc" ;; - v9) opt="-mcpu=ultrasparc -mtune=ultrasparc" ;; - v9vis) opt="-mcpu=ultrasparc -mtune=ultrasparc -mvis" ;; - esac - var_append GCC_WRAPPER_INSERT " " "$opt" -fi - diff --git a/architecture/sparc64/gcc-options.in b/architecture/sparc64/gcc-options.in deleted file mode 100644 index 64e0348..0000000 --- a/architecture/sparc64/gcc-options.in +++ /dev/null @@ -1,20 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/sparc64/gcc-options.in -# Copyright (C) 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -case "$SDECFG_SPARC64_OPT" in - generic) ;; - *) - var_append GCC_WRAPPER_INSERT " " "-mcpu=$SDECFG_SPARC64_OPT" ;; -esac - diff --git a/architecture/x86-64/gcc-options.in b/architecture/x86-64/gcc-options.in deleted file mode 100644 index a97fe3d..0000000 --- a/architecture/x86-64/gcc-options.in +++ /dev/null @@ -1,22 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/x86-64/gcc-options.in -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -case "$SDECFG_X8664_OPT" in - generic) ;; - em64t) - var_append GCC_WRAPPER_INSERT " " "-march=nocona" ;; - *) - var_append GCC_WRAPPER_INSERT " " "-march=$SDECFG_X8664_OPT" ;; -esac - diff --git a/architecture/x86/gcc-options.in b/architecture/x86/gcc-options.in deleted file mode 100644 index f837528..0000000 --- a/architecture/x86/gcc-options.in +++ /dev/null @@ -1,30 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: architecture/x86/gcc-options.in -# Copyright (C) 2004 - 2006 The T2 SDE Project -# -# More information can be found in the files COPYING and README. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. A copy of the -# GNU General Public License can be found in the file COPYING. -# --- SDE-COPYRIGHT-NOTE-END --- - -case "$SDECFG_X86_OPT" in - generic) ;; - k6*) - var_append GCC_WRAPPER_INSERT " " "-march=$SDECFG_X86_OPT" - # workaround and should be removed when gcc 3.x got fixed ... - var_append GCC_WRAPPER_INSERT " " "-fno-branch-count-reg" - ;; - pentium4) - var_append GCC_WRAPPER_INSERT " " "-march=$SDECFG_X86_OPT" - # workaround for gcc bug #15617 - var_append GCC_WRAPPER_INSERT " " "-mpreferred-stack-boundary=7" - ;; - *) - var_append GCC_WRAPPER_INSERT " " "-march=$SDECFG_X86_OPT" ;; -esac -