This is the mail archive of the gcc-patches@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]

Re: [PATCH] More aggressive --gc-sections


In message <m3ptbagjot.fsf@gossamer.airs.com>, Ian Lance Taylor writes:
 >law@redhat.com writes:
 >
 >> If you wanted to improve the long term maintainability of this code as
 >> well as its compatibility with non-GC'd code you could put the special
 >> GC related relocations into their own special section from the main
 >> relocations.
 >
 >To clarify: don't use ELF relocations at all.  Instead, put the
 >required information in a special section.  That way the information
 >can be backend-independent.  (You can use the ELF relocation format if
 >you like, but something other format would probably be fine too).
Precisely. Thanks for clarifying.
jeff



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