aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ld
diff options
context:
space:
mode:
authorKen Thompson <ken@golang.org>2010-09-20 14:23:25 -0700
committerKen Thompson <ken@golang.org>2010-09-20 14:23:25 -0700
commit103d75666344725d724eb570da735ef1583000aa (patch)
treed37d522511c452146e6b107b0fe81514cb94a07a /src/cmd/ld
parentd4c8a545793eb5281aab67f19a4dd8fe019986d2 (diff)
downloadgo-103d75666344725d724eb570da735ef1583000aa.tar.xz
loader fix
static init redo R=rsc CC=golang-dev https://golang.org/cl/2254041
Diffstat (limited to 'src/cmd/ld')
-rw-r--r--src/cmd/ld/dwarf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/ld/dwarf.c b/src/cmd/ld/dwarf.c
index 6e440d0465..0c255544de 100644
--- a/src/cmd/ld/dwarf.c
+++ b/src/cmd/ld/dwarf.c
@@ -1030,7 +1030,7 @@ dwarfaddmachoheaders(void)
// have to be page aligned in the file.
fakestart = abbrevo & ~0xfff;
- ms = newMachoSeg("__DWARF", 3);
+ ms = newMachoSeg("__DWARF", 4);
ms->fileoffset = fakestart;
ms->filesize = abbrevo-fakestart + abbrevsize+linesize+framesize+infosize;