Skip to content

Commit cbe8f37

Browse files
committed
Fixup patch
1 parent 8aa793d commit cbe8f37

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

overlays/patches/ghc/ghc-9.6-0006-Adds-support-for-Hidden-symbols.patch

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ index c3a5b5d..b826af8 100644
2929
+ default: barf("symbolTypeString: unknown symbol type (%d)", type);
3030
}
3131
}
32+
3233
@@ -277,10 +277,19 @@ int ghciInsertSymbolTable(
3334
}
3435
else if (pinfo->type ^ type)
@@ -51,14 +52,7 @@ index c3a5b5d..b826af8 100644
5152
debugBelch("Symbol %s was defined by %" PATH_FMT " to be a %s symbol.\n",
5253
key, obj_name, symbolTypeString(type));
5354
debugBelch(" yet was defined by %" PATH_FMT " to be a %s symbol.\n",
54-
@@ -380,6 +389,8 @@ int ghciInsertSymbolTable(
55-
pinfo->owner->archiveMemberName ? pinfo->owner->archiveMemberName
56-
: pinfo->owner->fileName
57-
);
58-
+ debugBelch("Address of new symbol: %p, old symbol: %p\n", data, pinfo->value);
59-
+ debugBelch("Type of symbol; new: %d, existing: %d\n", type, pinfo->type);
60-
return 0;
61-
}
55+
6256
diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h
6357
index 6cadaa8..3beac1d 100644
6458
--- a/rts/LinkerInternals.h

0 commit comments

Comments
 (0)