Commit 53068b73 authored by sof's avatar sof
Browse files

[project @ 2005-10-27 01:27:37 by sof]

ocGetNames_PEi386(): fix bug in previous commit to this function;
the correct .bss size for object files wasn't being passed to
Not directly harmful, but triggers ASSERT() failure w/ DEBUG.

Merge to STABLE.
parent 8f94d42a
......@@ -2047,7 +2047,7 @@ ocGetNames_PEi386 ( ObjectCode* oc )
if ( bss_sz < sectab_i->SizeOfRawData) { bss_sz = sectab_i->SizeOfRawData; }
zspace = stgCallocBytes(1, bss_sz, "ocGetNames_PEi386(anonymous bss)");
sectab_i->PointerToRawData = ((UChar*)zspace) - ((UChar*)(oc->image));
addProddableBlock(oc, zspace, sectab_i->VirtualSize);
addProddableBlock(oc, zspace, bss_sz);
/* debugBelch("BSS anon section at 0x%x\n", zspace); */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment