aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-09-13 23:07:48 +0000
committerKen Raeburn <raeburn@cygnus>1994-09-13 23:07:48 +0000
commit460531dad97cd6bd25c62087dd111d1dfe4d20b9 (patch)
tree3ace4f91ccc4335ac10aad64b58afc3f8e519e49 /gas/config/tc-hppa.c
parent28d3e4a3f8aa6dbded562b67cedb3ad15474565d (diff)
downloadgdb-460531dad97cd6bd25c62087dd111d1dfe4d20b9.zip
gdb-460531dad97cd6bd25c62087dd111d1dfe4d20b9.tar.gz
gdb-460531dad97cd6bd25c62087dd111d1dfe4d20b9.tar.bz2
Use EXIT_SUCCESS and EXIT_FAILURE in all exit calls.
Use exit rather than returning from main, for consistency on VMS. Call as_fatal instead of as_bad or as_warn followed by exit.
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r--gas/config/tc-hppa.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 988edd9..ceecc47 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -1396,8 +1396,7 @@ pa_ip (str)
break;
default:
- as_bad ("Unknown opcode: `%s'", str);
- exit (1);
+ as_fatal ("Unknown opcode: `%s'", str);
}
save_s = str;
@@ -4283,10 +4282,10 @@ pa_comm (unused)
S_SET_SEGMENT (symbol, &bfd_und_section);
S_SET_EXTERNAL (symbol);
- /* Keep this until we verify that the generic resolving
- code in write.c is fixed. */
- symbol->sy_resolved = 1;
-
+ /* colon() has already set the frag to the current location in the
+ $BSS$ subspace; we need to reset the fragment to the zero address
+ fragment. */
+ symbol->sy_frag = &zero_address_frag;
}
}
demand_empty_rest_of_line ();