diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-03-28 14:18:02 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-03-28 14:18:02 +0000 |
commit | 8562b2564e411bd7e3b8cba3080e1e779a119ffc (patch) | |
tree | e684230af2070945b878c5757b0885e7c05f2418 | |
parent | aeb79afcfd50cabc11a7467e11db31c6c51422d5 (diff) | |
download | binutils-redhat-8562b2564e411bd7e3b8cba3080e1e779a119ffc.tar.gz |
Default hppa64 to ".level 2.0w"
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 8f3af66c1c..555748a2cb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-03-28 Alan Modra <alan@linuxcare.com.au> + + * config/tc-hppa.c (DEFAULT_LEVEL): Define. + (md_begin): Use it when setting default architecture. + 2001-03-27 Hans-Peter Nilsson <hp@axis.com> * configure.in (cris-*-*): Change default emulation to criself. diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index e2905ecce4..fe877cbd65 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -1,5 +1,5 @@ /* tc-hppa.c -- Assemble for the PA - Copyright 1989, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 + Copyright 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -105,6 +105,12 @@ typedef som_symbol_type obj_symbol_type; #endif #endif /* OBJ_SOM */ +#if TARGET_ARCH_SIZE == 64 +#define DEFAULT_LEVEL 25 +#else +#define DEFAULT_LEVEL 10 +#endif + /* Various structures and types used internally in tc-hppa.c. */ /* Unwind table and descriptor. FIXME: Sync this with GDB version. */ @@ -1393,7 +1399,7 @@ md_begin () call_info_root = NULL; /* Set the default machine type. */ - if (!bfd_set_arch_mach (stdoutput, bfd_arch_hppa, 10)) + if (!bfd_set_arch_mach (stdoutput, bfd_arch_hppa, DEFAULT_LEVEL)) as_warn (_("could not set architecture and machine")); /* Folding of text and data segments fails miserably on the PA. |