Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dcpu-link: Fix bug in address fixup routine.

  • Loading branch information...
commit af90e753bcc73276c4ce4d578c932aeaf3e725b6 1 parent 5a73ee3
Jim Teeuwen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  dcpu-link/archive.go
2  dcpu-link/archive.go
View
@@ -79,7 +79,7 @@ func fixArchiveAddressing(list []*Archive, headerSize int) error {
path := strings.Split(ref.Name, ".")
ar := findArchive(list, path[0])
sym := findSymbol(ar, path[1])
- address := a.address + sym.Address
+ address := sym.Address
for _, offset := range ref.Address {
code[offset] = address
Please sign in to comment.
Something went wrong with that request. Please try again.