|Line numbers in COFF files ? email@example.com (2003-03-22)|
|Re: Line numbers in COFF files ? firstname.lastname@example.org (jacob navia) (2003-03-23)|
|From:||"jacob navia" <email@example.com>|
|Date:||23 Mar 2003 22:24:10 -0500|
|Organization:||Wanadoo, l'internet avec France Telecom|
|Posted-Date:||23 Mar 2003 22:24:10 EST|
"Mick Mathers" <firstname.lastname@example.org> wrote in message
> Are there any accepted conventions about what to do if there are more
> than 65535 line numbers in a text segment? Do linkers split the text
> segment into a number of sections?
Recently, I added to lcc-win32 (a C compiler system, see
http://www.cs.virginia.edu/~lcc-win32) the capability of emitting line
numbers of 32 bits.
I did the following:
1) Modified the assembler to emit 32 bit line numbers
2) Modified the linker to read a flag in the object file debug information
telling it to see if there is 32 bit or 16 bit line numbers.
3) Modified the debugger to read 32 bit line numbers if the linker tells it
I did that in a customer implementation, and as far as I know lccwin32 is
the lone compiler under win32 that does this.
Return to the
Search the comp.compilers archives again.