summaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-01-03 21:57:20 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-01-03 21:57:20 +0000
commit6fc1ece8240f262043817c8e50841e78b8ec057f (patch)
tree44e769438af0582d1304eb02ee21e5136dbd336d /ports
parent6ffa8f2f3b013e11bfdb0bdfbe678218f2ad6af4 (diff)
Merge changes between r16431 and r16494 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@16495 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.arm12
-rw-r--r--ports/ChangeLog.mips5
-rw-r--r--ports/sysdeps/mips/Makefile4
-rw-r--r--ports/sysdeps/mips/backtrace.c1
-rw-r--r--ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h9
-rw-r--r--ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S4
6 files changed, 29 insertions, 6 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 9108624c1..36027d56a 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,3 +1,15 @@
+2012-01-03 Mike Frysinger <vapier@gentoo.org>
+
+ [BZ #12354]
+ * sysdeps/unix/sysv/linux/arm/sigrestorer.S (__default_sa_restorer):
+ Add END(__default_sa_restorer).
+ (__default_rt_sa_restorer): Add END(__default_rt_sa_restorer).
+
+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/ports/ChangeLog.mips b/ports/ChangeLog.mips
index 8e60fb276..4bb1a4db5 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -1,3 +1,8 @@
+2012-01-03 Tom de Vries <tom@codesourcery.com>
+
+ * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
+ * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
+
2011-12-22 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)
diff --git a/ports/sysdeps/mips/Makefile b/ports/sysdeps/mips/Makefile
index 9d01522a3..b7e5e6192 100644
--- a/ports/sysdeps/mips/Makefile
+++ b/ports/sysdeps/mips/Makefile
@@ -11,4 +11,8 @@ ifeq ($(subdir),rt)
librt-sysdep_routines += rt-sysdep
endif
+ifeq ($(subdir),debug)
+CFLAGS-backtrace.c += -funwind-tables
+endif
+
ASFLAGS-.os += $(pic-ccflag)
diff --git a/ports/sysdeps/mips/backtrace.c b/ports/sysdeps/mips/backtrace.c
new file mode 100644
index 000000000..297029456
--- /dev/null
+++ b/ports/sysdeps/mips/backtrace.c
@@ -0,0 +1 @@
+#include <sysdeps/ia64/backtrace.c>
diff --git a/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h b/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
index 9c8077187..506558d3f 100644
--- a/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
+++ b/ports/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; \
diff --git a/ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S b/ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S
index 98e33cb8b..d9cc40fb0 100644
--- a/ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S
+++ b/ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 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
@@ -24,10 +24,12 @@
ENTRY(__default_sa_restorer)
swi SYS_ify(sigreturn)
+END(__default_sa_restorer)
#ifdef __NR_rt_sigreturn
ENTRY(__default_rt_sa_restorer)
swi SYS_ify(rt_sigreturn)
+END(__default_rt_sa_restorer)
#endif