This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: working with debug symbols


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]