This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] config.gcc: Remove USE_GAS for m68k targets.


Hi,

Attached is a patch to remove USE_GAS for m68k targets in config.gcc.

Roman Zippel removed uses of USE_GAS in the m68k port.  I don't see
any remaining use of USE_GAS other than those having to do with the
i386 port.

Built m68k-elf.  OK to apply?

Kazu Hirata

2007-10-04  Kazu Hirata  <kazu@codesourcery.com>

	* config.gcc: Remove USE_GAS for m68k targets.

Index: config.gcc
===================================================================
--- config.gcc	(revision 128994)
+++ config.gcc	(working copy)
@@ -1521,7 +1521,7 @@ m68k-*-coff*)
 	default_m68k_cpu=68020
 	default_cf_cpu=5206
 	tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-mlibs"
-	tm_defines="${tm_defines} MOTOROLA=1 USE_GAS"
+	tm_defines="${tm_defines} MOTOROLA=1"
 	tm_file="${tm_file} m68k/m68k-none.h m68k/m68kemb.h dbxcoff.h m68k/coff.h dbx.h"
 	use_fixproto=yes
 	;;
@@ -1545,7 +1545,7 @@ m68020-*-elf* | m68k-*-elf* | fido-*-elf
 		;;
 	esac
 	tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h"
-	tm_defines="${tm_defines} MOTOROLA=1 USE_GAS"
+	tm_defines="${tm_defines} MOTOROLA=1"
 	tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-m68kelf"
 	# Add multilibs for targets other than fido.
 	case ${target} in
@@ -1561,7 +1561,7 @@ m68010-*-netbsdelf* | m68k*-*-netbsdelf*
 	default_m68k_cpu=68020
 	default_cf_cpu=5475
 	tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h m68k/netbsd-elf.h"
-	tm_defines="${tm_defines} MOTOROLA=1 USE_GAS"
+	tm_defines="${tm_defines} MOTOROLA=1"
 	;;
 m68k*-*-openbsd*)
 	default_m68k_cpu=68020
@@ -1579,7 +1579,7 @@ m68k-*-uclinuxoldabi*)		# Motorola m68k/
 	default_m68k_cpu=68020
 	default_cf_cpu=5206
 	tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/uclinux-oldabi.h"
- 	tm_defines="${tm_defines} MOTOROLA=1 USE_GAS"
+ 	tm_defines="${tm_defines} MOTOROLA=1"
 	tmake_file="m68k/t-floatlib m68k/t-uclinux"
 	use_fixproto=no
 	;;
@@ -1589,7 +1589,7 @@ m68k-*-uclinux*)		# Motorola m68k/ColdFi
 	default_m68k_cpu=68020
 	default_cf_cpu=5206
 	tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h flat.h m68k/linux.h m68k/uclinux.h ./sysroot-suffix.h"
- 	tm_defines="${tm_defines} MOTOROLA=1 USE_GAS UCLIBC_DEFAULT=1"
+ 	tm_defines="${tm_defines} MOTOROLA=1 UCLIBC_DEFAULT=1"
 	extra_options="${extra_options} linux.opt"
 	tmake_file="m68k/t-floatlib m68k/t-uclinux m68k/t-mlibs"
 	use_fixproto=no
@@ -1601,7 +1601,7 @@ m68k-*-linux*)		# Motorola m68k's runnin
 	default_cf_cpu=5475
 	tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h m68k/linux.h"
 	extra_options="${extra_options} m68k/ieee.opt"
-	tm_defines="${tm_defines} MOTOROLA=1 USE_GAS"
+	tm_defines="${tm_defines} MOTOROLA=1"
 	# if not configured with --enable-sjlj-exceptions, bump the
 	# libgcc version number
 	if test x$sjlj != x1; then
@@ -1613,7 +1613,7 @@ m68k-*-rtems*)
 	default_cf_cpu=5206
 	tmake_file="m68k/t-floatlib m68k/t-m68kbare m68k/t-crtstuff t-rtems m68k/t-rtems m68k/t-mlibs"
 	tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/m68kemb.h m68k/m68020-elf.h m68k/rtemself.h rtems.h"
-	tm_defines="${tm_defines} MOTOROLA=1 USE_GAS"
+	tm_defines="${tm_defines} MOTOROLA=1"
 	extra_parts="crtbegin.o crtend.o"
 	;;
 mcore-*-elf)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]