Commit ba0d4ac1 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add PPC_RELOC_LOCAL_SECTDIFF support; patch from PHO in #3654

parent ac266b25
...@@ -4278,7 +4278,8 @@ static int relocateSection( ...@@ -4278,7 +4278,8 @@ static int relocateSection(
else if(scat->r_type == PPC_RELOC_SECTDIFF else if(scat->r_type == PPC_RELOC_SECTDIFF
|| scat->r_type == PPC_RELOC_LO16_SECTDIFF || scat->r_type == PPC_RELOC_LO16_SECTDIFF
|| scat->r_type == PPC_RELOC_HI16_SECTDIFF || scat->r_type == PPC_RELOC_HI16_SECTDIFF
|| scat->r_type == PPC_RELOC_HA16_SECTDIFF) || scat->r_type == PPC_RELOC_HA16_SECTDIFF
|| scat->r_type == PPC_RELOC_LOCAL_SECTDIFF)
#else #else
else if(scat->r_type == GENERIC_RELOC_SECTDIFF else if(scat->r_type == GENERIC_RELOC_SECTDIFF
|| scat->r_type == GENERIC_RELOC_LOCAL_SECTDIFF) || scat->r_type == GENERIC_RELOC_LOCAL_SECTDIFF)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment