mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-28 03:33:30 +08:00
* cofflink.c (_bfd_coff_generic_relocate_section):
Remove extra '+'.
This commit is contained in:
parent
e5c5ce23fd
commit
d84d840f18
@ -1,3 +1,8 @@
|
||||
Fri Jun 30 15:47:37 1995 Fred Fish <fnf@deneb.cygnus.com>
|
||||
|
||||
* cofflink.c (_bfd_coff_generic_relocate_section):
|
||||
Remove extra '+'.
|
||||
|
||||
Thu Jun 29 17:24:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
|
||||
|
||||
* coff-h8300.c (COFF_LONG_FILENAMES): Define.
|
||||
|
@ -2471,7 +2471,7 @@ _bfd_coff_generic_relocate_section (output_bfd, info, input_bfd,
|
||||
/* relocation to a symbol in a section which
|
||||
isn't absolute - we output the address here
|
||||
to a file */
|
||||
bfd_vma addr = rel->r_vaddr +
|
||||
bfd_vma addr = rel->r_vaddr
|
||||
+ input_section->output_offset
|
||||
+ input_section->output_section->vma;
|
||||
fwrite (&addr, 1,4, info->base_file);
|
||||
|
Loading…
Reference in New Issue
Block a user