aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd/asm/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/asm/main.go b/src/cmd/asm/main.go
index 71ee04128c..4a5dfecf6d 100644
--- a/src/cmd/asm/main.go
+++ b/src/cmd/asm/main.go
@@ -97,7 +97,7 @@ func main() {
}
if ok && !*flags.SymABIs {
ctxt.NumberSyms(true)
- obj.WriteObjFile(ctxt, buf, "")
+ obj.WriteObjFile(ctxt, buf, *flags.Importpath)
}
if !ok || diag {
if failedFile != "" {