aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-03 16:32:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-01-03 16:32:28 +0000
commit8117345d2231ba93f5684c63f2b512e4d7fca9d2 (patch)
tree5411a2a5cfd46faaee109b60340580c48792d9f5
parent04d450263622ae7c37cb841f93b3bcf4e9397a88 (diff)
downloadglibc-8117345d2231ba93f5684c63f2b512e4d7fca9d2.tar.xz
glibc-8117345d2231ba93f5684c63f2b512e4d7fca9d2.zip
Use ENTRY/END macros in old-ABI ARM sysdep-cancel.h.
-rw-r--r--ChangeLog.arm5
-rw-r--r--sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h9
2 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog.arm b/ChangeLog.arm
index 9108624c12..de9a2c1ff0 100644
--- a/ChangeLog.arm
+++ b/ChangeLog.arm
@@ -1,3 +1,8 @@
+2012-01-03 Mike Frysinger <vapier@gentoo.org>
+
+ * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h (PSEUDO): Change
+ .type/.globl/label to ENTRY(). Change .size to END().
+
2011-12-20 Peter Green <plugwash@p10link.net>
* sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Don't include
diff --git a/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h b/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
index 9c80771875..506558d3f7 100644
--- a/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
+++ b/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2004, 2005, 2007, 2008, 2012
+ 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,12 +29,10 @@
# define PSEUDO(name, syscall_name, args) \
.section ".text"; \
PSEUDO_PROLOGUE; \
- .type __##syscall_name##_nocancel,%function; \
- .globl __##syscall_name##_nocancel; \
- __##syscall_name##_nocancel: \
+ ENTRY (__##syscall_name##_nocancel); \
DO_CALL (syscall_name, args); \
PSEUDO_RET; \
- .size __##syscall_name##_nocancel,.-__##syscall_name##_nocancel; \
+ END (__##syscall_name##_nocancel); \
ENTRY (name); \
SINGLE_THREAD_P; \
DOARGS_##args; \