Commit 92b9a671 by Matt Austern Committed by Matt Austern

Dead code stripping

	Dead code stripping
	* darwin.h (EH_FRAME_SECTION_ATTR): Mark so it doesn't get stripped.
	* darwin.c (darwin_file_end): Mark file as potentially strippable.

From-SVN: r86203
parent 4766261d
2004-08-18 Matt Austern <austern@apple.com>
Dead code stripping
* darwin.h (EH_FRAME_SECTION_ATTR): Mark so it doesn't get stripped.
* darwin.c (darwin_file_end): Mark file as potentially strippable.
2004-08-18 Richard Henderson <rth@redhat.com>
* alias.c (readonly_fields_p): Remove.
......
......@@ -1252,6 +1252,7 @@ darwin_file_end (void)
destructor_section ();
ASM_OUTPUT_ALIGN (asm_out_file, 1);
}
fprintf (asm_out_file, "\t.subsections_via_symbols\n");
}
#include "gt-darwin.h"
......@@ -898,7 +898,7 @@ enum machopic_addr_class {
#define TARGET_ASM_EH_FRAME_SECTION darwin_eh_frame_section
#define EH_FRAME_SECTION_NAME "__TEXT"
#define EH_FRAME_SECTION_ATTR ",coalesced,no_toc+strip_static_syms"
#define EH_FRAME_SECTION_ATTR ",coalesced,no_toc+strip_static_syms+live_support"
#undef ASM_PREFERRED_EH_DATA_FORMAT
#define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment