Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(871)

Unified Diff: gcc/gmp/mpn/m4-ccas

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gmp/mpn/ia64/sqr_diagonal.asm ('k') | gcc/gmp/mpn/m68k/aors_n.asm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gmp/mpn/m4-ccas
diff --git a/gcc/gmp/mpn/m4-ccas b/gcc/gmp/mpn/m4-ccas
deleted file mode 100755
index 984e8e9b0eaeb1428af617505d65c237ae321beb..0000000000000000000000000000000000000000
--- a/gcc/gmp/mpn/m4-ccas
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-#
-# A helper script for Makeasm.am .asm.lo rule.
-
-# Copyright 2001 Free Software Foundation, Inc.
-#
-# This file is part of the GNU MP Library.
-#
-# The GNU MP Library is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or (at your
-# option) any later version.
-#
-# The GNU MP Library is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
-# License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
-
-
-# Usage: m4-ccas --m4=M4 CC ... file.asm ...
-#
-# Process file.asm with the given M4 plus any -D arguments, then
-# assemble with the given CC plus all arguments.
-#
-# The M4 command must be in a single --m4= argument, and will be split
-# on whitespace. When CC is invoked file.asm is replaced with a
-# temporary .s file which is the M4 output.
-#
-# To allow parallel builds, the temp file name is based on the .asm
-# file name, which will be the output object filename for all uses we
-# put this script to.
-
-M4=
-CC=
-DEFS=
-ASM=
-SEEN_O=no
-
-for i in "$@"; do
- case $i in
- --m4=*)
- M4=`echo "$i" | sed 's/^--m4=//'`
- ;;
- -D*)
- DEFS="$DEFS $i"
- CC="$CC $i"
- ;;
- *.asm)
- if test -n "$ASM"; then
- echo "Only one .asm file permitted"
- exit 1
- fi
- BASENAME=`echo "$i" | sed -e 's/\.asm$//' -e 's/^.*[\\/:]//'`
- TMP=tmp-$BASENAME.s
- ASM=$i
- CC="$CC $TMP"
- ;;
- -o)
- SEEN_O=yes
- CC="$CC $i"
- ;;
- *)
- CC="$CC $i"
- ;;
- esac
-done
-
-if test -z "$M4"; then
- echo "No --m4 specified"
- exit 1
-fi
-
-if test -z "$ASM"; then
- echo "No .asm specified"
- exit 1
-fi
-
-# Libtool adds it's own -o when sending output to .libs/foo.o, but not
-# when just wanting foo.o in the current directory. We need an
-# explicit -o in both cases since we're assembling tmp-foo.s.
-#
-if test $SEEN_O = no; then
- CC="$CC -o $BASENAME.o"
-fi
-
-echo "$M4 $DEFS $ASM >$TMP"
-$M4 $DEFS $ASM >$TMP || exit
-
-echo "$CC"
-$CC || exit
-
-# Comment this out to preserve .s intermediates
-rm -f $TMP
« no previous file with comments | « gcc/gmp/mpn/ia64/sqr_diagonal.asm ('k') | gcc/gmp/mpn/m68k/aors_n.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698