diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-30 08:15:42 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-30 08:15:42 +0000 |
commit | cca0d0c61064a1ddbd575426b2861cafae13cb5a (patch) | |
tree | b15ea66df5615f20de6cb22091af0ada49e70733 /gcc/unwind-dw2-fde.h | |
parent | 1f9b622bb72fbb8256bff4899b2f97cb4c5f5867 (diff) | |
download | gcc-cca0d0c61064a1ddbd575426b2861cafae13cb5a.tar.gz |
* gthr-gnat.c, gthr-gnat.h, gthr.h, libgcc2.h, unwind-dw2-fde.h
* unwind.h: Surround all visibility pragmas with #ifndef HIDE_EXPORTS.
* mklibgcc.in: Drastic restructure for comprehensibility.
Remove the old hidden-directive hack.
Eliminate support for .txt files in LIB2ADD etc (never used).
Eliminate support for assembly source files in LIB2ADDEH* and
LIBUNWIND (also never used).
Build up dependency lists for libraries incrementally.
If we have SHLIB_LINK, compile each file twice, once for the
static and once for the shared library; also probe for
-fvisibility=hidden in the generated libgcc.mk. If found,
pass that and -DHIDE_EXPORTS to the compilation of every C
source file going into the static library. If found, generate
hidden-directive lists for every assembly source file going
into the static library, but incorporate them with -include
instead of ld -r.
Write comments into generated libgcc.mk to facilitate debugging.
* Makefile.in: Pass ASM_HIDDEN_OP to mklibgcc.
* config/t-slibgcc-darwin: Define ASM_HIDDEN_OP.
* config/darwin.h (REAL_LIBGCC_SPEC): Put -lgcc back in
-Zdynamiclib case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91513 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unwind-dw2-fde.h')
-rw-r--r-- | gcc/unwind-dw2-fde.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/unwind-dw2-fde.h b/gcc/unwind-dw2-fde.h index 47ec3ab3649..93976e2fd51 100644 --- a/gcc/unwind-dw2-fde.h +++ b/gcc/unwind-dw2-fde.h @@ -32,7 +32,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #ifndef GCC_UNWIND_DW2_FDE_H #define GCC_UNWIND_DW2_FDE_H +#ifndef HIDE_EXPORTS #pragma GCC visibility push(default) +#endif struct fde_vector { @@ -179,6 +181,8 @@ last_fde (struct object *obj __attribute__ ((__unused__)), const fde *f) #endif } +#ifndef HIDE_EXPORTS #pragma GCC visibility pop +#endif #endif /* unwind-dw2-fde.h */ |