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:
cafb569
)
(adjust_reloc_syms): Use abs_symbol instead of calling section_symbol.
author
Ken Raeburn
<raeburn@cygnus>
Wed, 9 Feb 1994 00:04:43 +0000
(
00:04
+0000)
committer
Ken Raeburn
<raeburn@cygnus>
Wed, 9 Feb 1994 00:04:43 +0000
(
00:04
+0000)
gas/write.c
patch
|
blob
|
history
diff --git
a/gas/write.c
b/gas/write.c
index 55d5961cb3809155c2463a9e974669429f48031d..20949f703187ed36d13df85319f186d487f13d41 100644
(file)
--- a/
gas/write.c
+++ b/
gas/write.c
@@
-600,13
+600,9
@@
adjust_reloc_syms (abfd, sec, xxx)
BFD doesn't really handle relocations without symbols well.
(At least, the COFF support doesn't.) So for now we fake up
a local symbol in the absolute section. */
- static symbolS *abs_sym;
- if (!abs_sym)
- {
- abs_sym = section_symbol (absolute_section);
- abs_sym->sy_used_in_reloc = 1;
- }
- fixp->fx_addsy = abs_sym;
+
+ abs_symbol.sy_used_in_reloc = 1;
+ fixp->fx_addsy = &abs_symbol;
}
#endif