PRB:Uninitialized Globals in Wrong Segment in Assembly Listing

ID Number: Q66343

6.00 6.00a 6.00ax | 6.00 6.00a

MS-DOS | OS/2

buglist6.00 buglist6.00a buglist6.00ax fixlist7.00

Summary:

SYMPTOMS

When declaring uninitialized global data, the segments allocated to

store this data are the FAR_BSS segment for the compact, large, and

huge memory models and the C_COMMON segment for the small and medium

memory models. When the /Fa or /Fc compiler switches are used with C

versions 6.0, 6.0a, or 6.0ax to produce assembly listings from the

C source code, the listing that is generated actually has the segment

incorrectly allocated as just _BSS.

Using the /Fm switch to generate a map file from the linker will show

that the segment is in fact FAR_BSS.

STATUS

Microsoft has confirmed this to be a problem in C versions 6.0,

6.0a, and 6.0ax. This problem was corrected in C/C++ version 7.0.