1
0
mirror of https://github.com/golang/go synced 2024-11-14 09:00:21 -07:00
go/src/cmd/link
Ian Lance Taylor 39c07ce9e5 cmd/link: set ELF CPIC bit in mips64 objects
We already set it for mips32 objects. The native ELF linker warns when
linking PIC objects with non-PIC objects. Our objects are PIC, but we
were not marking them as such.

Fixes #20243.

Change-Id: Ifab131200b263e4c72cf81f7b131a65ac02a13a9
Reviewed-on: https://go-review.googlesource.com/42710
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-05-04 20:35:56 +00:00
..
internal cmd/link: set ELF CPIC bit in mips64 objects 2017-05-04 20:35:56 +00:00
doc.go cmd/link: don't suggest using nm to find -X name 2017-01-02 17:56:17 +00:00
dwarf_test.go cmd/link: skip TestDWARF when cgo is disabled 2017-03-30 22:32:33 +00:00
link_test.go cmd/link: handle long symbol names 2016-04-13 20:31:43 +00:00
linkbig_test.go cmd/internal/objabi: extract shared functionality from obj 2017-04-19 00:00:09 +00:00
main.go cmd/internal/objabi: extract shared functionality from obj 2017-04-19 00:00:09 +00:00