Changeset View
Changeset View
Standalone View
Standalone View
lang/go/files/patch-src_cmd_link_internal_arm64_obj.go
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/cmd/link/internal/arm64/obj.go.orig 2019-05-08 11:18:04.864431000 +0200 | |||||
+++ src/cmd/link/internal/arm64/obj.go 2019-05-08 11:18:55.256360000 +0200 | |||||
@@ -87,7 +87,8 @@ func archinit(ctxt *ld.Link) { | |||||
*ld.FlagRound = 4096 | |||||
} | |||||
- case objabi.Hlinux: /* arm64 elf */ | |||||
+ case objabi.Hlinux, /* arm64 elf */ | |||||
+ objabi.Hfreebsd: | |||||
ld.Elfinit(ctxt) | |||||
ld.HEADR = ld.ELFRESERVE | |||||
if *ld.FlagTextAddr == -1 { |