diff options
author | Shenghou Ma <minux.ma@gmail.com> | 2012-05-04 18:14:26 +0800 |
---|---|---|
committer | Shenghou Ma <minux.ma@gmail.com> | 2012-05-04 18:14:26 +0800 |
commit | aa952cf2fa02797cf32148b6f82268ad0b00ac81 (patch) | |
tree | 5080c24ae8d22f8cdf01bda74710290ff3faa5ff /src/cmd/ld/elf.h | |
parent | 274885018fe914ae208fb85f4e732a8aa38bad81 (diff) | |
download | go-aa952cf2fa02797cf32148b6f82268ad0b00ac81.tar.gz |
cmd/5l, cmd/ld: dynamic linking library support
Part 1 of CL 5601044 (cgo: Linux/ARM support)
Limitation: doesn't support thumb library yet.
R=golang-dev, dave, rsc
CC=golang-dev
http://codereview.appspot.com/5991065
Diffstat (limited to 'src/cmd/ld/elf.h')
-rw-r--r-- | src/cmd/ld/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/ld/elf.h b/src/cmd/ld/elf.h index 690ade975..e319ad25b 100644 --- a/src/cmd/ld/elf.h +++ b/src/cmd/ld/elf.h @@ -562,6 +562,8 @@ typedef struct { #define R_ARM_GOTPC 25 /* Add PC-relative GOT table address. */ #define R_ARM_GOT32 26 /* Add PC-relative GOT offset. */ #define R_ARM_PLT32 27 /* Add PC-relative PLT offset. */ +#define R_ARM_CALL 28 +#define R_ARM_V4BX 40 #define R_ARM_GNU_VTENTRY 100 #define R_ARM_GNU_VTINHERIT 101 #define R_ARM_RSBREL32 250 |