Correct incremental relocation offset
2012-01-27 H.J. Lu <hongjiu.lu@intel.com> * incremental.cc (write_info_blocks): Correct relocation offset.
This commit is contained in:
parent
75138f6d32
commit
c335b55d34
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-01-27 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* incremental.cc (write_info_blocks): Correct relocation offset.
|
||||
|
||||
2012-01-27 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* x86_64.cc (Relocate::tls_gd_to_ie): Support x32.
|
||||
|
|
|
@ -1632,7 +1632,8 @@ Output_section_incremental_inputs<size, big_endian>::write_info_blocks(
|
|||
Swap32::writeval(pov + 4, shndx);
|
||||
Swap32::writeval(pov + 8, chain);
|
||||
Swap32::writeval(pov + 12, nrelocs);
|
||||
Swap32::writeval(pov + 16, first_reloc * 3 * sizeof_addr);
|
||||
Swap32::writeval(pov + 16,
|
||||
first_reloc * (8 + 2 * sizeof_addr));
|
||||
pov += 20;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue