]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: make mach-o sections match internal sections
authorRuss Cox <rsc@golang.org>
Sun, 10 Mar 2013 18:17:04 +0000 (14:17 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 10 Mar 2013 18:17:04 +0000 (14:17 -0400)
commitb83d4af330858e819787efbbf6c5267f44d5b654
treecd975d3a9d63fafb51816f49dfc3265ce37f29ab
parente982ecacd1920d4314c84ecfca316a9bf0698fd3
cmd/ld: make mach-o sections match internal sections

This brings Mach-O generation more in line with ELF generation.

Having separate sections for the symtab and pclntab mean that we
can find them that way, instead of using the deprecated debug segments.
(And the host linker will keep separate sections for us, but probably
not the debug segments.)

R=ken2
CC=golang-dev
https://golang.org/cl/7688043
src/cmd/ld/data.c
src/cmd/ld/dwarf.c
src/cmd/ld/lib.h
src/cmd/ld/macho.c
src/cmd/ld/macho.h
src/libmach/executable.c