diff options
Diffstat (limited to 'src/cmd/internal/obj')
| -rw-r--r-- | src/cmd/internal/obj/arm64/doc.go | 2 | ||||
| -rw-r--r-- | src/cmd/internal/obj/objfile.go | 2 | ||||
| -rw-r--r-- | src/cmd/internal/obj/x86/asm6.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/internal/obj/arm64/doc.go b/src/cmd/internal/obj/arm64/doc.go index 4606e98aa9..7c65ab76da 100644 --- a/src/cmd/internal/obj/arm64/doc.go +++ b/src/cmd/internal/obj/arm64/doc.go @@ -96,7 +96,7 @@ Examples: 7. Move large constants to vector registers. Go asm uses VMOVQ/VMOVD/VMOVS to move 128-bit, 64-bit and 32-bit constants into vector registers, respectively. -And for a 128-bit interger, it take two 64-bit operands, for the low and high parts separately. +And for a 128-bit integer, it take two 64-bit operands, for the low and high parts separately. Examples: diff --git a/src/cmd/internal/obj/objfile.go b/src/cmd/internal/obj/objfile.go index aa99855565..0113eddbfd 100644 --- a/src/cmd/internal/obj/objfile.go +++ b/src/cmd/internal/obj/objfile.go @@ -423,7 +423,7 @@ func (w *writer) Hash(s *LSym) { // contentHashSection returns a mnemonic for s's section. // The goal is to prevent content-addressability from moving symbols between sections. // contentHashSection only distinguishes between sets of sections for which this matters. -// Allowing flexibility increases the effectiveness of content-addressibility. +// Allowing flexibility increases the effectiveness of content-addressability. // But in some cases, such as doing addressing based on a base symbol, // we need to ensure that a symbol is always in a particular section. // Some of these conditions are duplicated in cmd/link/internal/ld.(*Link).symtab. diff --git a/src/cmd/internal/obj/x86/asm6.go b/src/cmd/internal/obj/x86/asm6.go index 718da6a8a2..782b6d4aff 100644 --- a/src/cmd/internal/obj/x86/asm6.go +++ b/src/cmd/internal/obj/x86/asm6.go @@ -1978,7 +1978,7 @@ func fusedJump(p *obj.Prog) (bool, uint8) { type padJumpsCtx int32 func makePjcCtx(ctxt *obj.Link) padJumpsCtx { - // Disable jump padding on 32 bit builds by settting + // Disable jump padding on 32 bit builds by setting // padJumps to 0. if ctxt.Arch.Family == sys.I386 { return padJumpsCtx(0) |
