]> Cypherpunks repositories - gostls13.git/commit
cmd/ld, cmd/6l, cmd/8l, cmd/5l: fix hidden/local symbol import for ELF systems
authorShenghou Ma <minux.ma@gmail.com>
Tue, 22 May 2012 18:32:27 +0000 (02:32 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Tue, 22 May 2012 18:32:27 +0000 (02:32 +0800)
commit576d648b2a961a474acd6b2236ae062b901bb404
tree4a08a12bcc19a22a54f5a930f806571600cf9493
parent1c4b77a7c8adc6eed393a83991a3a67b88739050
cmd/ld, cmd/6l, cmd/8l, cmd/5l: fix hidden/local symbol import for ELF systems
   Introduce a newsym() to cmd/lib.c to add a symbol but don't add
them to hash table.
   Introduce a new bit flag SHIDDEN and bit mask SMASK to handle hidden
and/or local symbols in ELF symbol tables. Though we still need to order
the symbol table entries correctly.
   Fix for issue 3261 comment #9.
   For CL 5822049.

R=iant, rsc
CC=golang-dev
https://golang.org/cl/5823055
src/cmd/5l/asm.c
src/cmd/5l/pass.c
src/cmd/6l/asm.c
src/cmd/6l/pass.c
src/cmd/8l/asm.c
src/cmd/8l/pass.c
src/cmd/ld/data.c
src/cmd/ld/ldelf.c
src/cmd/ld/lib.c
src/cmd/ld/lib.h
src/cmd/ld/symtab.c