aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-08-06 19:11:19 +0000
committerSteve Chamberlain <sac@cygnus>1992-08-06 19:11:19 +0000
commit7fd3560a6a0a0babc4137c0cd877dbe2e34169a9 (patch)
tree64745e83d3c280e71e7c311bee939e595ab5d00a /gas
parent1eaf4dd64d46adbc1a783b67b6e4c76bbae9d24a (diff)
downloadgdb-7fd3560a6a0a0babc4137c0cd877dbe2e34169a9.zip
gdb-7fd3560a6a0a0babc4137c0cd877dbe2e34169a9.tar.gz
gdb-7fd3560a6a0a0babc4137c0cd877dbe2e34169a9.tar.bz2
* read.c (s_fill): make the .fill size clamped error a warn and
fix bug where 0's were always placed.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/read.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 71611c6..e1026b7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Thu Aug 6 12:10:39 1992 Steve Chamberlain (sac@thepub.cygnus.com)
+
+ * read.c (s_fill): make the .fill size clamped error a warn and
+ fix bug where 0's were always placed.
+
Wed Aug 5 12:02:40 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* config/tc-m68k.c (md_pseudo_table): fix the .align thing
@@ -21,6 +26,8 @@ Fri Jul 31 21:53:28 1992 Ken Raeburn (raeburn@cygnus.com)
characteristics have been), default to 68020. Don't need extra
quotes around error string.
+
+
Fri Jul 31 12:26:34 1992 Jim Wilson (wilson@sphagnum.cygnus.com)
* read.c (potable): Revert sac's incorrect change made Jul 13.
diff --git a/gas/read.c b/gas/read.c
index 77398df..dfc1625 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -805,7 +805,7 @@ void s_fill() {
*/
#define BSD_FILL_SIZE_CROCK_8 (8)
if (temp_size > BSD_FILL_SIZE_CROCK_8) {
- as_bad(".fill size clamped to %d.", BSD_FILL_SIZE_CROCK_8);
+ as_warn(".fill size clamped to %d.", BSD_FILL_SIZE_CROCK_8);
temp_size = BSD_FILL_SIZE_CROCK_8 ;
} if (temp_size < 0) {
as_warn("Size negative: .fill ignored.");
@@ -814,7 +814,7 @@ void s_fill() {
as_warn("Repeat < 0, .fill ignored");
temp_size = 0;
}
- temp_fill = get_absolute_expression ();
+
if (temp_size && !need_pass_2) {
p = frag_var(rs_fill, (int)temp_size, (int)temp_size, (relax_substateT)0, (symbolS *)0, temp_repeat, (char *)0);
bzero (p, (int)temp_size);