diff options
author | Marek Polacek <polacek@redhat.com> | 2012-08-02 21:04:29 +0200 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2012-08-02 21:04:29 +0200 |
commit | b67e9372b28ef339581b724c32acf7cf0977001f (patch) | |
tree | 7735b77739716800e4266e5177a20e85a9adde3f /sysdeps/sh | |
parent | 2747bf9adfd7bee7a44bb75c0279a88a1c89df30 (diff) | |
download | glibc-b67e9372b28ef339581b724c32acf7cf0977001f.zip glibc-b67e9372b28ef339581b724c32acf7cf0977001f.tar.gz glibc-b67e9372b28ef339581b724c32acf7cf0977001f.tar.bz2 |
Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.
Diffstat (limited to 'sysdeps/sh')
-rw-r--r-- | sysdeps/sh/_mcount.S | 2 | ||||
-rw-r--r-- | sysdeps/sh/sysdep.h | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/sh/_mcount.S b/sysdeps/sh/_mcount.S index 878788b..7c9f6d1 100644 --- a/sysdeps/sh/_mcount.S +++ b/sysdeps/sh/_mcount.S @@ -20,7 +20,7 @@ #include <sysdep.h> .globl C_SYMBOL_NAME(_mcount) - ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(_mcount),function) + .type C_SYMBOL_NAME(_mcount),@function cfi_startproc .align 5 C_LABEL(_mcount) diff --git a/sysdeps/sh/sysdep.h b/sysdeps/sh/sysdep.h index 66a1982..1111b8b 100644 --- a/sysdeps/sh/sysdep.h +++ b/sysdeps/sh/sysdep.h @@ -23,8 +23,6 @@ /* Syntactic details of assembler. */ #define ALIGNARG(log2) 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_SIZE_DIRECTIVE(name) .size name,.-name #ifdef SHARED @@ -36,8 +34,8 @@ /* Define an entry point visible from C. */ #define ENTRY(name) \ - .globl C_SYMBOL_NAME(name); \ - ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),function) \ + .globl C_SYMBOL_NAME(name); \ + .type C_SYMBOL_NAME(name),@function; \ .align ALIGNARG(5); \ C_LABEL(name) \ cfi_startproc; \ |