summaryrefslogtreecommitdiff
path: root/gcc/config/darwin-protos.h
diff options
context:
space:
mode:
authorshebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-08 02:28:04 +0000
committershebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-08 02:28:04 +0000
commit8dfaa51bab8013cafd356e6531ff02c112c457f0 (patch)
tree7f34d35e3061d6e92b30a8d6b5f8932a596e7a88 /gcc/config/darwin-protos.h
parent6ac91b4ab4b828fa7d00e6c820d1f802fa103327 (diff)
downloadgcc-8dfaa51bab8013cafd356e6531ff02c112c457f0.tar.gz
* config/darwin.h (ENCODE_SECTION_INFO): Define.
(REDO_SECTION_INFO_P): Ditto. (STRIP_NAME_ENCODING): Ditto. (ASM_DECLARE_OBJECT_NAME): Use ENCODE_SECTION_INFO. (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Ditto. (ASM_OUTPUT_LABELREF): Use STRIP_NAME_ENCODING. (GEN_LAZY_PTR_NAME_FOR_SYMBOL): Ditto. * config/darwin.c: No longer include c-tree.h. (machopic_classify_ident): Rewrite to use symbol encoding. (lookup_name_darwin): Remove. (machopic_non_lazy_ptr_name): Handle encoded symbols. (machopic_stub_name): Use STRIP_NAME_ENCODING. (machopic_validate_stub_or_non_lazy_ptr): Ditto. (machopic_finish): Ditto, remove test of decl. (update_non_lazy_ptrs): New function. (darwin_encode_section_info): New function. * config/darwin-protos.h: Declare it. * config/rs6000/rs6000.c (machopic_output_stub): Use STRIP_NAME_ENCODING. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42994 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin-protos.h')
-rw-r--r--gcc/config/darwin-protos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/darwin-protos.h b/gcc/config/darwin-protos.h
index b2326c050c0..10afb9a8b1d 100644
--- a/gcc/config/darwin-protos.h
+++ b/gcc/config/darwin-protos.h
@@ -51,6 +51,7 @@ extern void machopic_define_ident PARAMS ((tree));
extern void machopic_define_name PARAMS ((const char*));
extern int machopic_name_defined_p PARAMS ((const char*));
extern int machopic_ident_defined_p PARAMS ((tree));
+extern void darwin_encode_section_info PARAMS ((tree));
#endif /* TREE_CODE */