From 1a423bec00915fd45dc6f7ee67860abbfc2bbdb2 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 26 Aug 2019 07:15:34 -0600 Subject: [PATCH] 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 --- src/cmd/link/internal/ld/pe.go | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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{ -- 2.50.0