From f8701a3ff892202ea34e9a721c66f8dab62f5c7c Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Thu, 4 Jun 1992 19:21:58 +0000 Subject: Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com) * expr.c(expr): allow SEG_REGISTER in expressions. * read.c(pseudo_set): register expressions can be the source of a set. * subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to goto SEG_TEXT (if a.out) * write.c (write_object_file): If a.out don't use the old way for -R. * config/obj-a.out (s_sect): complain if the user tries to use a subsegment with a value which might interfere with out -R hackery. * config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table rather than use ugly if tree. (init_regtable): insert register names into symbol table. --- gas/write.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gas/write.c') diff --git a/gas/write.c b/gas/write.c index 9a5fb31..b6eaf43 100644 --- a/gas/write.c +++ b/gas/write.c @@ -215,6 +215,7 @@ void write_object_file() * data frags into the text segment. Do this before relaxing so * we know to take advantage of -R and make shorter addresses. */ +#ifndef OBJ_AOUT if (flagseen[ 'R' ]) { fixS *tmp; @@ -230,7 +231,7 @@ void write_object_file() text_fix_root=data_fix_root; data_fix_root=NULL; } - +#endif relax_segment(text_frag_root, SEG_TEXT); relax_segment(data_frag_root, SEG_DATA); /* -- cgit v1.1