From faef52c214c3f0cb610aff18f45bfc3e620be63a Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Sun, 9 Jun 2013 21:50:24 +0800 Subject: all: fix typos R=golang-dev, bradfitz, khr, r CC=golang-dev https://golang.org/cl/7461046 --- src/cmd/ld/data.c | 2 +- src/cmd/ld/dwarf.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cmd/ld') diff --git a/src/cmd/ld/data.c b/src/cmd/ld/data.c index 93718ad1d1..547494866e 100644 --- a/src/cmd/ld/data.c +++ b/src/cmd/ld/data.c @@ -367,7 +367,7 @@ dynreloc(void) { Sym *s; - // -d supresses dynamic loader format, so we may as well not + // -d suppresses dynamic loader format, so we may as well not // compute these sections or mark their symbols as reachable. if(debug['d'] && HEADTYPE != Hwindows) return; diff --git a/src/cmd/ld/dwarf.c b/src/cmd/ld/dwarf.c index 98b03f1c38..32967d5f6b 100644 --- a/src/cmd/ld/dwarf.c +++ b/src/cmd/ld/dwarf.c @@ -133,7 +133,7 @@ sleb128put(vlong v) /* * Defining Abbrevs. This is hardcoded, and there will be * only a handful of them. The DWARF spec places no restriction on - * the ordering of atributes in the Abbrevs and DIEs, and we will + * the ordering of attributes in the Abbrevs and DIEs, and we will * always write them out in the order of declaration in the abbrev. * This implementation relies on tag, attr < 127, so they serialize as * a char. Higher numbered user-defined tags or attributes can be used @@ -1646,7 +1646,7 @@ guesslang(char *s) } /* - * Generate short opcodes when possible, long ones when neccesary. + * Generate short opcodes when possible, long ones when necessary. * See section 6.2.5 */ @@ -1938,7 +1938,7 @@ enum { CIERESERVE = 16, DATAALIGNMENTFACTOR = -4, // TODO -PtrSize? - FAKERETURNCOLUMN = 16 // TODO gdb6 doesnt like > 15? + FAKERETURNCOLUMN = 16 // TODO gdb6 doesn't like > 15? }; static void -- cgit v1.3-5-g9baa