1*e4b17023SJohn Marino# Copyright (C) 2000, 2008 Free Software Foundation, Inc. 2*e4b17023SJohn Marino# 3*e4b17023SJohn Marino# This file is part of GCC. 4*e4b17023SJohn Marino# 5*e4b17023SJohn Marino# GCC is free software; you can redistribute it and/or modify 6*e4b17023SJohn Marino# it under the terms of the GNU General Public License as published by 7*e4b17023SJohn Marino# the Free Software Foundation; either version 3, or (at your option) 8*e4b17023SJohn Marino# any later version. 9*e4b17023SJohn Marino# 10*e4b17023SJohn Marino# GCC is distributed in the hope that it will be useful, 11*e4b17023SJohn Marino# but WITHOUT ANY WARRANTY; without even the implied warranty of 12*e4b17023SJohn Marino# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13*e4b17023SJohn Marino# GNU General Public License for more details. 14*e4b17023SJohn Marino# 15*e4b17023SJohn Marino# You should have received a copy of the GNU General Public License 16*e4b17023SJohn Marino# along with GCC; see the file COPYING3. If not see 17*e4b17023SJohn Marino# <http://www.gnu.org/licenses/>. 18*e4b17023SJohn Marino 19*e4b17023SJohn Marino# In order to work around the very problems that force us to now generally 20*e4b17023SJohn Marino# create a libgcc.so, glibc reexported a number of routines from libgcc.a. 21*e4b17023SJohn Marino# By now choosing the same version tags for these specific routines, we 22*e4b17023SJohn Marino# maintain enough binary compatibility to allow future versions of glibc 23*e4b17023SJohn Marino# to defer implementation of these routines to libgcc.so via DT_AUXILIARY. 24*e4b17023SJohn Marino 25*e4b17023SJohn Marino%exclude { 26*e4b17023SJohn Marino __divdi3 27*e4b17023SJohn Marino __moddi3 28*e4b17023SJohn Marino __udivdi3 29*e4b17023SJohn Marino __umoddi3 30*e4b17023SJohn Marino __register_frame 31*e4b17023SJohn Marino __register_frame_table 32*e4b17023SJohn Marino __deregister_frame 33*e4b17023SJohn Marino __register_frame_info 34*e4b17023SJohn Marino __deregister_frame_info 35*e4b17023SJohn Marino __frame_state_for 36*e4b17023SJohn Marino __register_frame_info_table 37*e4b17023SJohn Marino} 38*e4b17023SJohn Marino 39*e4b17023SJohn Marino%inherit GCC_3.0 GLIBC_2.0 40*e4b17023SJohn MarinoGLIBC_2.0 { 41*e4b17023SJohn Marino # Sampling of DImode arithmetic used by (at least) i386 and m68k. 42*e4b17023SJohn Marino __divdi3 43*e4b17023SJohn Marino __moddi3 44*e4b17023SJohn Marino __udivdi3 45*e4b17023SJohn Marino __umoddi3 46*e4b17023SJohn Marino 47*e4b17023SJohn Marino # Exception handling support functions used by most everyone. 48*e4b17023SJohn Marino __register_frame 49*e4b17023SJohn Marino __register_frame_table 50*e4b17023SJohn Marino __deregister_frame 51*e4b17023SJohn Marino __register_frame_info 52*e4b17023SJohn Marino __deregister_frame_info 53*e4b17023SJohn Marino __frame_state_for 54*e4b17023SJohn Marino __register_frame_info_table 55*e4b17023SJohn Marino} 56