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] |
it is valid in ELF to have overlapping ELF symbols right ? so if i have a symbol "foo" which starts at say 0x10 and has a size of 0x100, i can have another symbol "moo" which starts at say 0x20 and has a size of 0x10 ? what i'm trying to do is embed some data into a function and have objdump do the right thing ... so for example: .type foo,%function foo: R0 = 0; ... some more assembly ... .type moo,%object moo: .asciz "a data string"; .size moo, . - moo ... some more assembly ... .size foo, . - foo objdump on this shows proper disassembly from the start of "foo" up to the start of "moo", and then shows that the "moo" symbol is data, but after the end of "moo" to the end of "foo", the information is continued to be interpreted as data rather than disassembled as object code. i imagine this is not normal, but can it be expected to work ? :) -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |