We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b97fe3 commit 48b651cCopy full SHA for 48b651c
src/cmd/link/internal/arm64/obj.go
@@ -89,15 +89,11 @@ func archinit(ctxt *ld.Link) {
89
90
case objabi.Hplan9: /* plan 9 */
91
ld.HEADR = 32 + 8
92
-
93
- if *ld.FlagTextAddr == -1 {
94
- *ld.FlagTextAddr = 0x10000 + int64(ld.HEADR)
95
- }
96
if *ld.FlagRound == -1 {
97
*ld.FlagRound = 0x10000
98
}
99
if *ld.FlagTextAddr == -1 {
100
- *ld.FlagTextAddr = ld.Rnd(4096, *ld.FlagRound) + int64(ld.HEADR)
+ *ld.FlagTextAddr = ld.Rnd(0x10000, *ld.FlagRound) + int64(ld.HEADR)
101
102
103
case objabi.Hlinux, /* arm64 elf */
0 commit comments