mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
2004-10-26 H.J. Lu <hongjiu.lu@intel.com>
PR 475 * elfxx-ia64.c (elfNN_ia64_relocate_section): Correct R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB and R_IA64_SECREL64LSB.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2004-10-26 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR 475
|
||||||
|
* elfxx-ia64.c (elfNN_ia64_relocate_section): Correct
|
||||||
|
R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB
|
||||||
|
and R_IA64_SECREL64LSB.
|
||||||
|
|
||||||
2004-10-26 Paul Brook <paul@codesourcery.com>
|
2004-10-26 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
* elflink.c (elf_finalize_dynstr): Skip shared aux structure.
|
* elflink.c (elf_finalize_dynstr): Skip shared aux structure.
|
||||||
|
@ -4338,11 +4338,9 @@ elfNN_ia64_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||||||
case R_IA64_SECREL32LSB:
|
case R_IA64_SECREL32LSB:
|
||||||
case R_IA64_SECREL64MSB:
|
case R_IA64_SECREL64MSB:
|
||||||
case R_IA64_SECREL64LSB:
|
case R_IA64_SECREL64LSB:
|
||||||
/* Make output-section relative. */
|
/* Make output-section relative to section where the symbol
|
||||||
if (value > input_section->output_section->vma)
|
is defined. PR 475 */
|
||||||
value -= input_section->output_section->vma;
|
value -= sym_sec->output_section->vma;
|
||||||
else
|
|
||||||
value = 0;
|
|
||||||
r = elfNN_ia64_install_value (hit_addr, value, r_type);
|
r = elfNN_ia64_install_value (hit_addr, value, r_type);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user