\f
/* Implicit Calls to Library Routines */
-/* ??? The ia64 linux kernel requires that we use the standard names for
- divide and modulo routines. However, if we aren't careful, lib1funcs.asm
- will be overridden by libgcc2.c. We avoid this by using different names
- for lib1funcs.asm modules, e.g. __divdi3 vs _divdi3. Since lib1funcs.asm
- goes into libgcc.a first, the linker will find it first. */
-
/* Define this macro if GNU CC should generate calls to the System V (and ANSI
C) library functions `memcpy' and `memset' rather than the BSD functions
`bcopy' and `bzero'. */
-#ifdef L__divtf3
+#ifdef L_divtf3
// Compute a 80-bit IEEE double-extended quotient.
//
// From the Intel IA-64 Optimization Guide, choose the minimum latency
.endp __divtf3
#endif
-#ifdef L__divdf3
+#ifdef L_divdf3
// Compute a 64-bit IEEE double quotient.
//
// From the Intel IA-64 Optimization Guide, choose the minimum latency
.endp __divdf3
#endif
-#ifdef L__divsf3
+#ifdef L_divsf3
// Compute a 32-bit IEEE float quotient.
//
// From the Intel IA-64 Optimization Guide, choose the minimum latency
.endp __divsf3
#endif
-#ifdef L__divdi3
+#ifdef L_divdi3
// Compute a 64-bit integer quotient.
//
// From the Intel IA-64 Optimization Guide, choose the minimum latency
.endp __divdi3
#endif
-#ifdef L__moddi3
+#ifdef L_moddi3
// Compute a 64-bit integer modulus.
//
// From the Intel IA-64 Optimization Guide, choose the minimum latency
.endp __moddi3
#endif
-#ifdef L__udivdi3
+#ifdef L_udivdi3
// Compute a 64-bit unsigned integer quotient.
//
// From the Intel IA-64 Optimization Guide, choose the minimum latency
.endp __udivdi3
#endif
-#ifdef L__umoddi3
+#ifdef L_umoddi3
// Compute a 64-bit unsigned integer modulus.
//
// From the Intel IA-64 Optimization Guide, choose the minimum latency
.endp __umoddi3
#endif
-#ifdef L__divsi3
+#ifdef L_divsi3
// Compute a 32-bit integer quotient.
//
// From the Intel IA-64 Optimization Guide, choose the minimum latency
.endp __divsi3
#endif
-#ifdef L__modsi3
+#ifdef L_modsi3
// Compute a 32-bit integer modulus.
//
// From the Intel IA-64 Optimization Guide, choose the minimum latency
.endp __modsi3
#endif
-#ifdef L__udivsi3
+#ifdef L_udivsi3
// Compute a 32-bit unsigned integer quotient.
//
// From the Intel IA-64 Optimization Guide, choose the minimum latency
.endp __udivsi3
#endif
-#ifdef L__umodsi3
+#ifdef L_umodsi3
// Compute a 32-bit unsigned integer modulus.
//
// From the Intel IA-64 Optimization Guide, choose the minimum latency
.endp __umodsi3
#endif
-#ifdef L__save_stack_nonlocal
+#ifdef L_save_stack_nonlocal
// Notes on save/restore stack nonlocal: We read ar.bsp but write
// ar.bspstore. This is because ar.bsp can be read at all times
// (independent of the RSE mode) but since it's read-only we need to
.endp __ia64_save_stack_nonlocal
#endif
-#ifdef L__nonlocal_goto
+#ifdef L_nonlocal_goto
// void __ia64_nonlocal_goto(void *target_label, void *save_area,
// void *static_chain);
.endp __ia64_nonlocal_goto
#endif
-#ifdef L__restore_stack_nonlocal
+#ifdef L_restore_stack_nonlocal
// This is mostly the same as nonlocal_goto above.
// ??? This has not been tested yet.
.endp __ia64_restore_stack_nonlocal
#endif
-#ifdef L__trampoline
+#ifdef L_trampoline
// Implement the nested function trampoline. This is out of line
// so that we don't have to bother with flushing the icache, as
// well as making the on-stack trampoline smaller.
LIB1ASMSRC = ia64/lib1funcs.asm
-# ??? We change the names of the DImode div/mod files so that they won't
-# accidentally be overridden by libgcc2.c files. We used to use __ia64 as
-# a prefix, now we use __ as the prefix.
-LIB1ASMFUNCS = __divtf3 __divdf3 __divsf3 \
- __divdi3 __moddi3 __udivdi3 __umoddi3 \
- __divsi3 __modsi3 __udivsi3 __umodsi3 __save_stack_nonlocal \
- __nonlocal_goto __restore_stack_nonlocal __trampoline
+LIB1ASMFUNCS = _divtf3 _divdf3 _divsf3 \
+ _divdi3 _moddi3 _udivdi3 _umoddi3 \
+ _divsi3 _modsi3 _udivsi3 _umodsi3 _save_stack_nonlocal \
+ _nonlocal_goto _restore_stack_nonlocal _trampoline
# ??? Hack to get -P option used when compiling lib1funcs.asm, because Intel
# assembler does not accept # line number as a comment.