Use $x prefix for exception portion of sections

The way the VC++7 compiler places exception-handling code and data at
the end of `.text` and `.rdata` is by putting them in sections named
`.text$x` and `.rdata$x`* that then get merged onto the ends of the
`$x`-free versions.  To better match what's seen in objdiff, we apply
the same naming convention here.

*It's actually `.xdata$x`, but we'll merge it into `.rdata` manually if
we have to.
This commit is contained in:
KeybadeBlox 2025-12-14 16:45:44 -05:00
parent 9ad0f2a807
commit 10b3c8c273

View file

@ -1,4 +1,4 @@
Object,.text body,.text exceptions,D3D,DSOUND,MMATRIX,XGRPH,XPP,.rdata body,.rdata exceptions,.data,DOLBY
Object,.text,.text$x,D3D,DSOUND,MMATRIX,XGRPH,XPP,.rdata,.rdata$x,.data,DOLBY
Core.obj,0x00011000-0x00013FF0,0x00186BA0-0x00186C1F,,,,,,0x001C4390-0x001C44FF,0x001E4D20-0x001E4DAB,0x00251D40-0x00251DAB,
Jet2.obj,0x0006F9E0-0x0006FA6F,0x00187710-0x0018772F,,,,,,,0x001E620C-0x001E622F,0x0022FCE0-0x0022FCE7,
ADX (need to decompose),0x0013A570-0x0014555F,?,,,,,,?,?,?,

1 Object .text body .text .text exceptions .text$x D3D DSOUND MMATRIX XGRPH XPP .rdata body .rdata .rdata exceptions .rdata$x .data DOLBY
2 Core.obj 0x00011000-0x00013FF0 0x00186BA0-0x00186C1F 0x001C4390-0x001C44FF 0x001E4D20-0x001E4DAB 0x00251D40-0x00251DAB
3 Jet2.obj 0x0006F9E0-0x0006FA6F 0x00187710-0x0018772F 0x001E620C-0x001E622F 0x0022FCE0-0x0022FCE7
4 ADX (need to decompose) 0x0013A570-0x0014555F ? ? ? ?