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/ld/pobj.c | |
| 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/ld/pobj.c')
| -rw-r--r-- | src/cmd/ld/pobj.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/ld/pobj.c b/src/cmd/ld/pobj.c index 63460df30a..b86ddfe0fe 100644 --- a/src/cmd/ld/pobj.c +++ b/src/cmd/ld/pobj.c @@ -184,6 +184,7 @@ main(int argc, char *argv[]) if(HEADTYPE == Hwindows) dope(); addexport(); + gentext(); // trampolines, call stubs, etc. textaddress(); pclntab(); symtab(); |
