diff options
author | Stan Shebs <shebs@apple.com> | 2001-06-08 02:28:04 +0000 |
---|---|---|
committer | Stan Shebs <shebs@gcc.gnu.org> | 2001-06-08 02:28:04 +0000 |
commit | df56a27fb81910e6521a69a0a153dc36591021f7 (patch) | |
tree | 7f34d35e3061d6e92b30a8d6b5f8932a596e7a88 /gcc/config/darwin-protos.h | |
parent | daa8df6512c63970a3aafb7415d280e7cc720bce (diff) | |
download | gcc-df56a27fb81910e6521a69a0a153dc36591021f7.zip gcc-df56a27fb81910e6521a69a0a153dc36591021f7.tar.gz gcc-df56a27fb81910e6521a69a0a153dc36591021f7.tar.bz2 |
darwin.h (ENCODE_SECTION_INFO): Define.
* 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.
From-SVN: r42994
Diffstat (limited to 'gcc/config/darwin-protos.h')
-rw-r--r-- | gcc/config/darwin-protos.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/darwin-protos.h b/gcc/config/darwin-protos.h index b2326c0..10afb9a 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 */ |