Commit 75d8aea7 by Philip Blundell Committed by Nick Clifton

Don't define `arm' or `thumb'.

For linux-elf don't define `__arm__'

From-SVN: r36302
parent bb22da4b
2000-09-10 Philip Blundell <philb@gnu.org>
* config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
* config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com) Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com)
* alias.c (find_base_term): Handle ADDRESSOF. * alias.c (find_base_term): Handle ADDRESSOF.
......
...@@ -129,7 +129,7 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -129,7 +129,7 @@ Unrecognized value in TARGET_CPU_DEFAULT.
%(cpp_cpu_arch) %(cpp_apcs_pc) %(cpp_float) \ %(cpp_cpu_arch) %(cpp_apcs_pc) %(cpp_float) \
%(cpp_endian) %(subtarget_cpp_spec) %(cpp_isa) %(cpp_interwork)" %(cpp_endian) %(subtarget_cpp_spec) %(cpp_isa) %(cpp_interwork)"
#define CPP_ISA_SPEC "%{mthumb:-Dthumb -D__thumb__} %{!mthumb:-Darm -D__arm__}" #define CPP_ISA_SPEC "%{mthumb:-D__thumb__} %{!mthumb:-D__arm__}"
/* Set the architecture define -- if -march= is set, then it overrides /* Set the architecture define -- if -march= is set, then it overrides
the -mcpu= setting. */ the -mcpu= setting. */
......
...@@ -105,7 +105,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -105,7 +105,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Dunix -D__arm__ -Dlinux -D__ELF__ \ "-Dunix -Dlinux -D__ELF__ \
-Asystem(unix) -Asystem(posix) -Acpu(arm) -Amachine(arm)" -Asystem(unix) -Asystem(posix) -Acpu(arm) -Amachine(arm)"
/* Allow #sccs in preprocessor. */ /* Allow #sccs in preprocessor. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment