diff options
| author | Austin Clements <austin@google.com> | 2014-12-17 12:13:47 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2014-12-22 22:47:05 +0000 |
| commit | 326ceeabc46db98cccfbde80fde562c0fb3325c3 (patch) | |
| tree | 1ce2402dc28583e057bf767d33616708f98129ed /src/cmd/5l | |
| parent | 6c78443b3e13c43ea887f6b73099e0c1297327c5 (diff) | |
| download | go-326ceeabc46db98cccfbde80fde562c0fb3325c3.tar.xz | |
cmd/ld: add a text generation pass
This will be used by ppc64 to add call stubs to the .text section.
ARM needs a similar pass to generate veneers for arm->thumb
transitions.
Change-Id: Iaee74036e60643a56fab15b564718f359c5910eb
Reviewed-on: https://go-review.googlesource.com/2004
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/5l')
| -rw-r--r-- | src/cmd/5l/asm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/5l/asm.c b/src/cmd/5l/asm.c index 9c1c04e2d4..017d3f4357 100644 --- a/src/cmd/5l/asm.c +++ b/src/cmd/5l/asm.c @@ -69,6 +69,11 @@ static void addpltsym(Link*, LSym*); static void addgotsym(Link*, LSym*); static void addgotsyminternal(Link*, LSym*); +void +gentext(void) +{ +} + // Preserve highest 8 bits of a, and do addition to lower 24-bit // of a and b; used to adjust ARM branch intruction's target static int32 |
