projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5872110
)
Fix bug with expressions like @foo+20
author
Steve Chamberlain
<steve@cygnus>
Tue, 8 Oct 1991 00:40:43 +0000
(
00:40
+0000)
committer
Steve Chamberlain
<steve@cygnus>
Tue, 8 Oct 1991 00:40:43 +0000
(
00:40
+0000)
gas/config/obj-ieee.c
patch
|
blob
|
history
diff --git
a/gas/config/obj-ieee.c
b/gas/config/obj-ieee.c
index 453022493622311670daeee8495e2b0b72ba7217..aaffab5df447fc538296273f13bf60d0417a8879 100644
(file)
--- a/
gas/config/obj-ieee.c
+++ b/
gas/config/obj-ieee.c
@@
-201,7
+201,7
@@
void DEFUN(do_relocs_for,(idx),
if (s) {
if ((s->flags & BSF_UNDEFINED)==0) {
to->section = s->section;
- to->addend
= s->value
;
+ to->addend
+= s->value
;
to->sym_ptr_ptr = 0;
if (to->howto->pcrel_offset) {
/* This is a pcrel relocation, the addend should be adjusted */
@@
-273,8
+273,8
@@
static void DEFUN(do_symbols, (abfd),
default:
abort();
}
- count++;
}
+ count++;
}
symbol_ptr_vec = (asymbol **)malloc((count+1) * sizeof(asymbol *));