Re: Issue with debug symbols with garbage collector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/21/22 11:11, Michael Eager wrote:
On 4/21/22 00:27, Nagaraju Mekala via Gcc-help wrote:
  I meant instead of pointing to _start, Debug symbols were pointing to
microblaze_register_handler.

Both symbols are at location 0.

I have attached the elf, where we cannot find any symbols related to
microblaze_register_handler function but the debug_loc is somehow showing
up at _start address.

There are two places where symbols are defined.  One is in the ELF
symbol table:

    $ readelf -s kc705_hello.elf | grep " _start"
    277: 0000000000000000     0 FUNC    GLOBAL DEFAULT    1 _start

There are a number of symbols with the prefix microblaze_ which appear in the ELF symbol table. I can't tell from the very limited information you provide why those are included but microblaze_register_handler is not. This probably has to do with how these functions are written.

--
Michael Eager



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux