Commit c667b12e authored by Simon Marlow's avatar Simon Marlow

Fix the pattern for _hpc symbols: it incorrectly matched the _hp suffix too

This has the undesitrable effect that stg_gc_gen_hp in the RTS was
caught as an HPC symbol and put in the data segment.
parent 14ec6872
......@@ -725,7 +725,7 @@ sub mangle_asm {
$chkcat[$i] = 'data';
$chksymb[$i] = '';
} elsif ( /^${T_US}([A-Za-z0-9_]+)_hpc?${T_POST_LBL}$/o ) {
} elsif ( /^${T_US}([A-Za-z0-9_]+)_hpc${T_POST_LBL}$/o ) {
# hpc shares tick boxes across modules
$chk[++$i] = $_;
$chkcat[$i] = 'data';
......
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