From 13925cef35043613d867649a4bff9d1cf5c6b3d8 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 29 Oct 1993 21:09:43 +0000 Subject: [PATCH] * config/tc-hppa.c (md_begin): Disable "-R" option to fold text and data segments. Warn user "-R" is unsupported on the PA. --- gas/config/tc-hppa.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 34230e76d81..584f9e3bad3 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 (); -- 2.30.2