aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1993-10-29 21:09:43 +0000
committerJeff Law <law@redhat.com>1993-10-29 21:09:43 +0000
commit13925cef35043613d867649a4bff9d1cf5c6b3d8 (patch)
tree97664069c8315bd20dfdb9b0898b272131bbdc7e
parent53c0b9e754fdbbaabc1ca03c91eb772084c56629 (diff)
downloadgdb-13925cef35043613d867649a4bff9d1cf5c6b3d8.zip
gdb-13925cef35043613d867649a4bff9d1cf5c6b3d8.tar.gz
gdb-13925cef35043613d867649a4bff9d1cf5c6b3d8.tar.bz2
* config/tc-hppa.c (md_begin): Disable "-R" option to fold
text and data segments. Warn user "-R" is unsupported on the PA.
-rw-r--r--gas/config/tc-hppa.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 34230e7..584f9e3 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -1343,6 +1343,12 @@ md_begin ()
last_call_info = NULL;
call_info_root = NULL;
+ /* Folding of text and data segments fails miserably on the PA.
+ Warn user and disable "-R" option. */
+ as_warn ("-R option not supported on this target.");
+ flag_readonly_data_in_text = 0;
+ flagseen['R'] = 0;
+
pa_spaces_begin ();
op_hash = hash_new ();