From: Jason A. Donenfeld Date: Mon, 26 Aug 2019 13:15:34 +0000 (-0600) Subject: ld: fix up header copy and paste error X-Git-Tag: go1.14beta1~1364 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1a423bec00915fd45dc6f7ee67860abbfc2bbdb2;p=gostls13.git ld: fix up header copy and paste error Some constants were added above the initial copyright blurb, and then later a new copyright blurb was added on top of that. So we wound up with two header sections, one of which contained a useful comment that became obscured. This commit fixes up that mistake. Change-Id: I8b9b8c34495cdceae959e151e8ccdee3137f6ca4 Reviewed-on: https://go-review.googlesource.com/c/go/+/191841 Run-TryBot: Jason A. Donenfeld TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/link/internal/ld/pe.go b/src/cmd/link/internal/ld/pe.go index 032968f983..497a20b548 100644 --- a/src/cmd/link/internal/ld/pe.go +++ b/src/cmd/link/internal/ld/pe.go @@ -2,6 +2,9 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// PE (Portable Executable) file writing +// https://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx + package ld import ( @@ -124,13 +127,6 @@ const ( IMAGE_REL_BASED_HIGHLOW = 3 ) -// Copyright 2009 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// PE (Portable Executable) file writing -// https://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx - // DOS stub that prints out // "This program cannot be run in DOS mode." var dosstub = []uint8{