зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1440037 - Add support for R_X86_64_PLT32 relocations in elfhack. r=froydnj
--HG-- extra : rebase_source : a0b3f39575585a0969402e88482fe0ac62b9c332
This commit is contained in:
Родитель
ca99682d13
Коммит
8c090e66b4
|
@ -390,6 +390,7 @@ private:
|
||||||
#define REL(machine, type) (EM_ ## machine | (R_ ## machine ## _ ## type << 8))
|
#define REL(machine, type) (EM_ ## machine | (R_ ## machine ## _ ## type << 8))
|
||||||
switch (elf->getMachine() | (ELF32_R_TYPE(r->r_info) << 8)) {
|
switch (elf->getMachine() | (ELF32_R_TYPE(r->r_info) << 8)) {
|
||||||
case REL(X86_64, PC32):
|
case REL(X86_64, PC32):
|
||||||
|
case REL(X86_64, PLT32):
|
||||||
case REL(386, PC32):
|
case REL(386, PC32):
|
||||||
case REL(386, GOTPC):
|
case REL(386, GOTPC):
|
||||||
case REL(ARM, GOTPC):
|
case REL(ARM, GOTPC):
|
||||||
|
|
Загрузка…
Ссылка в новой задаче