Jon Mountjoy writes:
> Hello People,
>
> The -hD profile on ghc-2.02 seems to break the hp2ps. The other
> profiles seem to work. I suspect it is because somewhere (on line 14)
> the words "FOREIGN OBJ" are outputted instead of "ForeignObj", because
> if I hack the former with the latter it seems to work.
>
Yes, thanks for the report and fix - RTS patch follows.
--Sigbjorn
*** fptools/ghc/runtime/main/StgStartup.lhc-old Thu Mar 6 20:12:53 1997
--- fptools/ghc/runtime/main/StgStartup.lhc Mon Apr 7 15:02:05 1997
***************
*** 126,128 ****
!
ForeignObj_ITBL(ForeignObj_info,ForeignObj_entry,UpdErr,0,INFO_OTHER_TAG,,,const,EF_,ForeignObj_K,"FOREIGN
OBJ","ForeignObj");
--- 126,128 ----
!
ForeignObj_ITBL(ForeignObj_info,ForeignObj_entry,UpdErr,0,INFO_OTHER_TAG,,,const,EF_,ForeignObj_K,"FOREIGN_OBJ","ForeignObj");
***************
*** 147,149 ****
!
STATIC_ITBL(UnusedSP_info,UnusedSP_entry,UpdErr,0,INFO_OTHER_TAG,0,0,const,IF_,CON_K,"UNUSED
STABLE PTR","USP");
--- 147,149 ----
!
STATIC_ITBL(UnusedSP_info,UnusedSP_entry,UpdErr,0,INFO_OTHER_TAG,0,0,const,IF_,CON_K,"UNUSED_STABLE_PTR","USP");