projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69babf9
)
* write.c (relax_segment): Use was_address instead of address when
author
Bob Wilson
<bob.wilson@acm.org>
Thu, 5 Aug 2004 16:55:00 +0000
(16:55 +0000)
committer
Bob Wilson
<bob.wilson@acm.org>
Thu, 5 Aug 2004 16:55:00 +0000
(16:55 +0000)
setting fr_fix field for align frag due to backwards .org.
gas/ChangeLog
patch
|
blob
|
history
gas/write.c
patch
|
blob
|
history
diff --git
a/gas/ChangeLog
b/gas/ChangeLog
index
ac1eaeb
..
f221a15
100644
(file)
--- a/
gas/ChangeLog
+++ b/
gas/ChangeLog
@@
-1,3
+1,8
@@
+2004-08-05 Bob Wilson <bob.wilson@acm.org>
+
+ * write.c (relax_segment): Use was_address instead of address when
+ setting fr_fix field for align frag due to backwards .org.
+
2004-07-29 Alexandre Oliva <aoliva@redhat.com>
Introduce SH2a support.
diff --git
a/gas/write.c
b/gas/write.c
index
509596f
..
a713a9d
100644
(file)
--- a/
gas/write.c
+++ b/
gas/write.c
@@
-2412,7
+2412,7
@@
relax_segment (struct frag *segment_frag_root, segT segment)
fragP->fr_type = rs_align;
fragP->fr_subtype = 0;
fragP->fr_offset = 0;
- fragP->fr_fix = after - address;
+ fragP->fr_fix = after -
was_
address;
growth = stretch;
}