diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2004-01-15 16:56:34 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2004-01-15 16:56:34 +0000 |
commit | 46049cff4f689532250bec7a53c8c1d5486bf640 (patch) | |
tree | 305a3234028931f5a4273e0fc0396eb0d281e5d4 /gcc/config/arm/lib1funcs.asm | |
parent | 4e394293bf0279f3ef28e2747acc1d97b2d2dcb6 (diff) | |
download | gcc-46049cff4f689532250bec7a53c8c1d5486bf640.zip gcc-46049cff4f689532250bec7a53c8c1d5486bf640.tar.gz gcc-46049cff4f689532250bec7a53c8c1d5486bf640.tar.bz2 |
Richard Earnshaw <rearnsha@arm.com>
Daniel Jacobowitz <drow@mvista.com>
* arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
(EQUIV): Define.
(ARM_FUNC_ALIAS): New macro.
* arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
* arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
Co-Authored-By: Daniel Jacobowitz <drow@mvista.com>
From-SVN: r75930
Diffstat (limited to 'gcc/config/arm/lib1funcs.asm')
-rw-r--r-- | gcc/config/arm/lib1funcs.asm | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/gcc/config/arm/lib1funcs.asm b/gcc/config/arm/lib1funcs.asm index fe14070..e72af6c 100644 --- a/gcc/config/arm/lib1funcs.asm +++ b/gcc/config/arm/lib1funcs.asm @@ -1,7 +1,8 @@ @ libgcc routines for ARM cpu. @ Division routines, written by Richard Earnshaw, (rearnsha@armltd.co.uk) -/* Copyright 1995, 1996, 1998, 1999, 2000 Free Software Foundation, Inc. +/* Copyright 1995, 1996, 1998, 1999, 2000, 2003, 2004 + Free Software Foundation, Inc. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -202,12 +203,24 @@ SYM (__\name): .arm _L__\name: /* A hook to tell gdb that we've switched to ARM */ .endm +#define EQUIV .thumb_set #else .macro ARM_FUNC_START name - FUNC_START \name + .text + .globl SYM (__\name) + TYPE (__\name) + .align 0 + .arm +SYM (__\name): .endm +#define EQUIV .set #endif +.macro ARM_FUNC_ALIAS new old + .globl SYM (__\new) + EQUIV SYM (__\new), SYM (__\old) +.endm + #ifdef __thumb__ /* Register aliases. */ |