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/6l | |
| 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/6l')
| -rw-r--r-- | src/cmd/6l/asm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/6l/asm.c b/src/cmd/6l/asm.c index 18b5aa3119..41c9cc84c6 100644 --- a/src/cmd/6l/asm.c +++ b/src/cmd/6l/asm.c @@ -74,6 +74,11 @@ static void addpltsym(LSym*); static void addgotsym(LSym*); void +gentext(void) +{ +} + +void adddynrela(LSym *rela, LSym *s, Reloc *r) { addaddrplus(ctxt, rela, s, r->off); |
