diff options
author | Alan Modra <amodra@gmail.com> | 2001-03-28 14:13:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-03-28 14:13:46 +0000 |
commit | 8a238888b453627b099318bd83c3d9dd3baaf257 (patch) | |
tree | cf73cad3f962bc5ff3400ec5a09d2410f9132b7a /gas/config | |
parent | b05f243280c921455098656b2fdafecdd58f9cb4 (diff) | |
download | gdb-8a238888b453627b099318bd83c3d9dd3baaf257.zip gdb-8a238888b453627b099318bd83c3d9dd3baaf257.tar.gz gdb-8a238888b453627b099318bd83c3d9dd3baaf257.tar.bz2 |
Default hppa64 to ".level 2.0w"
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-hppa.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index a293b9e..fe877cb 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -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. |