This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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] | |
I think that one of the goals here is to not make that too dependent on elf. For instance, we are in the process of getting rid of all of the dwarf. After maddox does that, our only dependence on elf will be as a container to hold all of the sections.2) LTO sections need to be able to find "their index" of decls and
types. By "their index" I mean the index that each section used to
reference the decls and types when the section was generated.
Can't you just put an ELF symbol (can be an unnamed local -- could even just be a section symbol) on the index section, then add a pointer in the IR section with a relocation to that symbol? This is basically how DWARF .debug_info sections point to the abbrev table in the .debug_abbrev sections.
-cary
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |