working with debug symbols

Nick Clifton nickc@redhat.com
Wed May 19 15:31:00 GMT 2010


Hi Nikos,

> We are interested in x86 for now. Are the jump tables for switch
> statements stored inside the functions?

Probably not for you, but there are a few cases where they are. 
(Specifically when generating code for a 64-bit x86 Mach-O target, or a 
32-bit x86 target on a system where the assembler does not support the 
GOTOFF relocation in data sections).  You can easily compile a small 
test application to find out.

Cheers
   Nick




More information about the Binutils mailing list