ppc: Minor tweaks to move PowerPC build towards working

Change-Id: Id9a4e0fd483d2a0c05cf2a8475d3689a13bcc5f6
This commit is contained in:
Alexander von Gluck IV 2019-05-14 21:13:29 -05:00
parent 0f916d6641
commit aefa412c98
2 changed files with 8 additions and 7 deletions

View File

@ -5,9 +5,9 @@ BootstrapPackageRepository HaikuPortsCross
haikuporter-0-1
:
# repository architecture packages (stage 0)
gcc_bootstrap-5.4.0_2016_06_04-1
gcc_bootstrap_syslibs-5.4.0_2016_06_04-1
gcc_bootstrap_syslibs_devel-5.4.0_2016_06_04-1
gcc_bootstrap-7.3.0_2019_04_04-1
gcc_bootstrap_syslibs-7.3.0_2019_04_04-1
gcc_bootstrap_syslibs_devel-7.3.0_2019_04_04-1
:
# repository architecture packages (stage 1)
bash_bootstrap-4.4.012-1

View File

@ -126,11 +126,12 @@ arch_elf_relocate_rela(struct elf_image_info *image,
int i;
Elf32_Sym *sym;
int vlErr;
addr_t S = 0; // symbol address
addr_t R = 0; // section relative symbol address
addr_t G = 0; // GOT address
addr_t L = 0; // PLT address
Elf32_Addr S = 0; // symbol address
addr_t R = 0; // section relative symbol address
addr_t G = 0; // GOT address
addr_t L = 0; // PLT address
#define P ((addr_t)(image->text_region.delta + rel[i].r_offset))
#define A ((addr_t)rel[i].r_addend)