]>
Commit | Line | Data |
---|---|---|
5aa26af0 JJ |
1 | # In order to work around the very problems that force us to now generally |
2 | # create a libgcc.so, glibc reexported a number of routines from libgcc.a. | |
3 | # By now choosing the same version tags for these specific routines, we | |
4 | # maintain enough binary compatibility to allow future versions of glibc | |
5 | # to defer implementation of these routines to libgcc.so via DT_AUXILIARY. | |
6 | ||
7 | %ifdef __arch64__ | |
8 | %define GLIBC_VER GLIBC_2.2 | |
9 | %else | |
10 | %define GLIBC_VER GLIBC_2.0 | |
11 | %endif | |
12 | %inherit GCC_3.0 GLIBC_VER | |
13 | GLIBC_VER { | |
14 | # Sampling of DImode arithmetic used by (at least) i386 and m68k. | |
15 | __divdi3 | |
16 | __moddi3 | |
17 | __udivdi3 | |
18 | __umoddi3 | |
19 | ||
20 | # Exception handling support functions used by most everyone. | |
21 | __register_frame | |
22 | __register_frame_table | |
23 | __deregister_frame | |
24 | __register_frame_info | |
25 | __deregister_frame_info | |
26 | __frame_state_for | |
27 | __register_frame_info_table | |
28 | } |