aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-06-04 19:21:58 +0000
committerSteve Chamberlain <sac@cygnus>1992-06-04 19:21:58 +0000
commitf8701a3ff892202ea34e9a721c66f8dab62f5c7c (patch)
treed92b8743afc7dc3186763528fe62e99dd43bd8ca /gas/write.c
parentf4a0f42d8ae83b302641b74c3dea1912964e0145 (diff)
downloadfsf-binutils-gdb-f8701a3ff892202ea34e9a721c66f8dab62f5c7c.zip
fsf-binutils-gdb-f8701a3ff892202ea34e9a721c66f8dab62f5c7c.tar.gz
fsf-binutils-gdb-f8701a3ff892202ea34e9a721c66f8dab62f5c7c.tar.bz2
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.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c3
1 files changed, 2 insertions, 1 deletions
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);
/*