This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Give __aeabi_ul2{d,f} default visibility
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 18 Aug 2004 23:14:01 -0700
- Subject: PATCH: Give __aeabi_ul2{d,f} default visibility
- Reply-to: mark at codesourcery dot com
I forgot to explicitly make these functions have "default" visibility,
which matters on arm-none-symbianelf, where the compiler uses -fhidden
by default.
Tested by building libgcc on arm-none-symbianelf, applied on the
mainline and on the csl-arm-branch.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
2004-08-18 Mark Mitchell <mark@codesourcery.com>
* config/arm/bpabi.c (__aeabi_ul2d): Give it default visibility.
(__aeabi_ul2f): Likewise.
Index: bpabi.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/bpabi.c,v
retrieving revision 1.1
diff -c -5 -p -r1.1 bpabi.c
*** bpabi.c 11 Aug 2004 02:50:07 -0000 1.1
--- bpabi.c 19 Aug 2004 06:11:43 -0000
***************
*** 25,36 ****
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
! extern double __aeabi_ul2d (unsigned long long);
! extern float __aeabi_ul2f (unsigned long long);
extern long long __divdi3 (long long, long long);
extern unsigned long long __udivdi3 (unsigned long long,
unsigned long long);
extern long long __gnu_ldivmod_helper (long long, long long, long long *);
extern unsigned long long __gnu_uldivmod_helper (unsigned long long,
--- 25,37 ----
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
! #define VISIBLE __attribute__((visibility("default")))
! extern VISIBLE double __aeabi_ul2d (unsigned long long);
! extern VISIBLE float __aeabi_ul2f (unsigned long long);
extern long long __divdi3 (long long, long long);
extern unsigned long long __udivdi3 (unsigned long long,
unsigned long long);
extern long long __gnu_ldivmod_helper (long long, long long, long long *);
extern unsigned long long __gnu_uldivmod_helper (unsigned long long,