diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-03-18 14:29:30 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-03-18 14:29:30 +0000 |
commit | fe0955cdc4dbc6ff51876fb9dc438c5a79d62c42 (patch) | |
tree | 2e3133a2b9b61b35563c07ffcc31ca3bb9aa519d | |
parent | 2e4ed6f1f873607aa1ccfed22f82465db9226747 (diff) | |
download | glibc-fe0955cdc4dbc6ff51876fb9dc438c5a79d62c42.tar glibc-fe0955cdc4dbc6ff51876fb9dc438c5a79d62c42.tar.gz glibc-fe0955cdc4dbc6ff51876fb9dc438c5a79d62c42.tar.bz2 glibc-fe0955cdc4dbc6ff51876fb9dc438c5a79d62c42.zip |
Change format of .type directive. Correct comment about floating
point to reflect current reality.
-rw-r--r-- | sysdeps/arm/sysdep.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sysdeps/arm/sysdep.h b/sysdeps/arm/sysdep.h index 8d1e2972df..28dd402ced 100644 --- a/sysdeps/arm/sysdep.h +++ b/sysdeps/arm/sysdep.h @@ -1,5 +1,5 @@ /* Assembler macros for ARM. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -28,19 +28,23 @@ /* ELF uses byte-counts for .align, most others use log2 of count of bytes. */ #define ALIGNARG(log2) 1<<log2 /* For ELF we need the `.type' directive to make shared libs work right. */ -#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg; +#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,%##typearg; #define ASM_SIZE_DIRECTIVE(name) .size name,.-name /* In ELF C symbols are asm symbols. */ #undef NO_UNDERSCORES #define NO_UNDERSCORES +#define PLTJMP(_x) _x##(PLT) + #else #define ALIGNARG(log2) log2 #define ASM_TYPE_DIRECTIVE(name,type) /* Nothing is specified. */ #define ASM_SIZE_DIRECTIVE(name) /* Nothing is specified. */ +#define PLTJMP(_x) _x + #endif /* APCS-32 doesn't preserve the condition codes across function call. */ @@ -56,13 +60,10 @@ instr##s regs #endif -/* Don't do floating point */ -#define __ARM_USES_FP 1 - /* Define an entry point visible from C. */ #define ENTRY(name) \ ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \ - ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function) \ + ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),function) \ .align ALIGNARG(4); \ C_LABEL(name) \ CALL_MCOUNT |