From: Jeff Law Date: Fri, 29 Oct 1993 21:09:43 +0000 (+0000) Subject: * config/tc-hppa.c (md_begin): Disable "-R" option to fold X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13925cef35043613d867649a4bff9d1cf5c6b3d8;p=binutils-gdb.git * config/tc-hppa.c (md_begin): Disable "-R" option to fold text and data segments. Warn user "-R" is unsupported on the PA. --- 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 ();