summaryrefslogtreecommitdiff
path: root/cross/atasm/patches/patch-ab
blob: ee1b0ab3e655ca02cec4e64e5289d13fb643ca7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ab,v 1.1 2004/02/22 04:01:15 kristerw Exp $

--- symbol.c.orig	Sun Feb 22 04:56:22 2004
+++ symbol.c	Sun Feb 22 04:56:45 2004
@@ -136,6 +136,7 @@
       snprintf(buf,256,"=%.4x_%s=%s",invoked->orig->times,invoked->orig->name,unk);
       unk=buf;
     }
+    {
     unkLabel *look=isUnk(unk);
     if (!look) {
       unkLabel *u=(unkLabel *)malloc(sizeof(unkLabel));
@@ -144,6 +145,7 @@
       unkLabels=u;
       u->label=(char *)malloc(strlen(unk)+1);
       strcpy(u->label,unk);
+      }
     } 
   }
 }