aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-01-31 15:47:41 +0000
committerIan Lance Taylor <ian@airs.com>1997-01-31 15:47:41 +0000
commita75abb6f0ad78833199bd16476e6babbd70738be (patch)
tree173093f63e87ff4f026c052ee53a7b39203bf3b4 /gas/read.c
parent8275482ce0340bf13293a1b7bb6bf3c03ed79873 (diff)
downloadgdb-a75abb6f0ad78833199bd16476e6babbd70738be.zip
gdb-a75abb6f0ad78833199bd16476e6babbd70738be.tar.gz
gdb-a75abb6f0ad78833199bd16476e6babbd70738be.tar.bz2
* write.c (relax_segment): Give an error if a .space symbol is
common or undefined. * read.c (read_a_source_file): Don't handle mri_pending_align if the handler is s_globl or s_ignore.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/read.c b/gas/read.c
index a1b3bdd..5e70429 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -719,7 +719,9 @@ read_a_source_file (name)
|| pop->poc_handler == s_ifc
|| pop->poc_handler == s_ifeqs
|| pop->poc_handler == s_else
- || pop->poc_handler == s_endif)))
+ || pop->poc_handler == s_endif
+ || pop->poc_handler == s_globl
+ || pop->poc_handler == s_ignore)))
{
do_align (1, (char *) NULL, 0);
mri_pending_align = 0;