[PATCH] Add -fsection-anchor support for Darwin
Andrew Pinski
pinskia@physics.uc.edu
Wed Mar 1 19:10:00 GMT 2006
Here is the patch I committed, I had missed that .objc_cls_refs needs SECTION_MERGE also.
Again I wish there was more documention on what .objc_* sections do and are since right
now the docs say they are reserved for the Objective-C compiler but I am working on the
compiler.
Thanks,
Andrew Pinski
* config/darwin-protos.h (darwin_asm_output_anchor):
Declare.
* config/darwin-sections.def (cstring_section):
Add SECTION_MERGE to the flags.
(literal4_section): Likewise.
(literal8_section): Likewise.
(objc_selector_refs_section): Likewise.
(objc_cls_refs_section): Likewise.
* config/darwin.c (darwin_asm_output_anchor): New
function.
* config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Define.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixanchors.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060301/6f0164cb/attachment.txt>
More information about the Gcc-patches
mailing list