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] |
Yes, the calls in function_section and current_function_section are guarded with that check.
-- Caroline ctice@apple.com
So, if your calls to select section are appropriately guarded with USE_SELECT_SECTION_FOR_FUCNTIONS, then it does indeed sound like your code is correct, and there's no need to make changes to the 4.0 branch. I sure wish someone would tidy up target.h to reflect that (a) FUNCTION_DECLs can be passed to this function, and (b) reloc has as a different meaning in this case. Or, make an entirely separate hook.
-- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |