diff options
author | Marek Polacek <polacek@redhat.com> | 2012-07-10 14:30:24 +0200 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2012-07-10 14:30:24 +0200 |
commit | 7b8e0d49cbfd8a911978d4b72f3d97e11a6d34ec (patch) | |
tree | b6e8d0b491e2e4e78d1e4b41d3edadeb04392395 /sysdeps/i386 | |
parent | c1d00790348352d9bd342b9cebe70cb416f63798 (diff) | |
download | glibc-7b8e0d49cbfd8a911978d4b72f3d97e11a6d34ec.tar.gz glibc-7b8e0d49cbfd8a911978d4b72f3d97e11a6d34ec.tar.xz glibc-7b8e0d49cbfd8a911978d4b72f3d97e11a6d34ec.zip |
Get rid of ASM_GLOBAL_DIRECTIVE.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/configure | 2 | ||||
-rw-r--r-- | sysdeps/i386/configure.in | 2 | ||||
-rw-r--r-- | sysdeps/i386/i386-mcount.S | 6 | ||||
-rw-r--r-- | sysdeps/i386/sysdep.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure index f56538f99a..a4eb0213bf 100644 --- a/sysdeps/i386/configure +++ b/sysdeps/i386/configure @@ -174,7 +174,7 @@ else /* comment on two lines */ ${libc_cv_dot_text} - ${libc_cv_asm_global_directive} foo + .globl foo foo: /* Unfortunately this test only works for a real instruction, not for any of the machine-independent pseudo-ops. diff --git a/sysdeps/i386/configure.in b/sysdeps/i386/configure.in index b9e6f9eef4..6b78626f3c 100644 --- a/sysdeps/i386/configure.in +++ b/sysdeps/i386/configure.in @@ -13,7 +13,7 @@ cat > conftest.S <<EOF /* comment on two lines */ ${libc_cv_dot_text} - ${libc_cv_asm_global_directive} foo + .globl foo foo: /* Unfortunately this test only works for a real instruction, not for any of the machine-independent pseudo-ops. diff --git a/sysdeps/i386/i386-mcount.S b/sysdeps/i386/i386-mcount.S index 66a3caa302..11f7493c3a 100644 --- a/sysdeps/i386/i386-mcount.S +++ b/sysdeps/i386/i386-mcount.S @@ -1,5 +1,5 @@ /* i386-specific implemetation of profiling support. - Copyright (C) 1997, 2002 Free Software Foundation, Inc. + Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -26,7 +26,7 @@ - the ELF `fixup' function uses GCC's regparm feature - some (future) systems might want to pass parameters in registers. */ - ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(_mcount) + .globl C_SYMBOL_NAME(_mcount) ASM_TYPE_DIRECTIVE(C_SYMBOL_NAME(_mcount), @function) .align ALIGNARG(4) C_LABEL(_mcount) @@ -54,7 +54,7 @@ C_LABEL(_mcount) weak_alias (_mcount, mcount) /* Same as above, but doesn't require a frame pointer */ - ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(__fentry__) + .globl C_SYMBOL_NAME(__fentry__) ASM_TYPE_DIRECTIVE(C_SYMBOL_NAME(__fentry__), @function) .align ALIGNARG(4) C_LABEL(__fentry__) diff --git a/sysdeps/i386/sysdep.h b/sysdeps/i386/sysdep.h index b31caab0f7..01e6817919 100644 --- a/sysdeps/i386/sysdep.h +++ b/sysdeps/i386/sysdep.h @@ -63,7 +63,7 @@ #define ENTRY(name) \ STABS_CURRENT_FILE1("") \ STABS_CURRENT_FILE(name) \ - ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \ + .globl C_SYMBOL_NAME(name); \ ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function) \ .align ALIGNARG(4); \ STABS_FUN(name) \ |