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]

[committed] rewrite section handling on darwin


I've had this in my local tree for about a month now and it's a good time to commit it. This rewrites the darwin section handling to use categorize_decl_for_section, fix the formatting in a number of places and break out how we handle the different types of sections. Bootstrapped and regression tested recently on all four darwin targets, no regressions. Tested today on x86_64-darwin, no regressions.

Committed to mainline.

-eric

2006-12-19 Eric Christopher <echristo@apple.com>

	* config/darwin.c (machopic_select_section): Rewrite.
	(darwin_text_section): New.
	(darwin_rodata_section): Ditto.
	(darwin_mergeable_string_section): Ditto.
	(darwin_mergeable_constant_section): Ditto.
	* config/darwin-sections.def: Add SECTION_STRINGS for cstring_section.


Attachment: section.diff.txt
Description: Text document


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