debug/elf: support arm64 relocations
This adds the minimal support for AArch64/arm64 relocations
needed to get cgo to work (when an isomorphic patch is applied
to gccgo) and a test.
This change uses the "AAarch64" name for the architecture rather
than the more widely accepted "arm64" because that's the name that
the relevant docs from ARM such as
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0056b/IHI0056B_aaelf64.pdf
all use.
Fixes issue 8533.
> FWIW, the GOOS for the WIP Go on arm64 target is arm64. I meant ...
10 years, 6 months ago
(2014-08-21 09:53:11 UTC)
#3
> FWIW, the GOOS for the WIP Go on arm64 target is arm64.
I meant GOARCH, obviously. And I was just mentioning some trivia, the name of
the constants should match the doc, e.g. we use R_X86_64_GLOB_DAT even though
out GOARCH is amd64. We should change the function names, though.
On 2014/08/21 09:53:11, aram wrote: > > FWIW, the GOOS for the WIP Go on ...
10 years, 6 months ago
(2014-08-21 11:03:31 UTC)
#5
On 2014/08/21 09:53:11, aram wrote:
> > FWIW, the GOOS for the WIP Go on arm64 target is arm64.
>
> I meant GOARCH, obviously. And I was just mentioning some trivia, the name of
> the constants should match the doc, e.g. we use R_X86_64_GLOB_DAT even though
> out GOARCH is amd64. We should change the function names, though.
I changed the function name to applyRelocationsARM64.
On 2014/08/21 14:54:00, minux wrote: > while you're here, why not add the full set ...
10 years, 6 months ago
(2014-08-21 20:26:44 UTC)
#7
On 2014/08/21 14:54:00, minux wrote:
> while you're here, why not add the full set of relocation values?
OK, I've added all the relocations binutils knows about (via the power of
awk...).
*** Submitted as https://code.google.com/p/go/source/detail?r=50f9b7e05ec3 *** debug/elf: support arm64 relocations This adds the minimal support for ...
10 years, 6 months ago
(2014-08-28 03:19:01 UTC)
#14
Issue 132000043: code review 132000043: debug/elf: support arm64 relocations
Created 10 years, 6 months ago by mwhudson
Modified 10 years, 6 months ago
Reviewers:
Base URL:
Comments: 15