Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-11-12 15:09:24 +0300
committerJoseph Myers <joseph@codesourcery.com>2015-11-12 15:09:24 +0300
commite6459123e497409a9e3d845c39829a9602ba55a4 (patch)
tree02b10e8d0685cc199901696efeb886532f22042c /newlib/ChangeLog
parent4998ac43411001a4757537b0312443493cf69112 (diff)
Avoid .eh_frame in ARM newlib.
ARM newlib has various strcmp implementations that use .cfi_* directives to generate unwind information. The effect of this is that the generated objects contain .eh_frame sections. However, ARM uses its own unwind info format, not .eh_frame, which is generated by ARM-specific directives, not .cfi_*. The .eh_frame sections are useless, but also not removed by strip and may be loaded into memory at runtime. This patch fixes this by using .cfi_sections .debug_frame (as in glibc) so that the directives generate .debug_frame instead. .debug_frame is useful for the debugger, can be removed by strip, and is not loaded into memory at runtime. * libc/machine/arm/strcmp-arm-tiny.S: Use .cfi_sections .debug_frame. * libc/machine/arm/strcmp-armv4.S: Likewise. * libc/machine/arm/strcmp-armv4t.S: Likewise. * libc/machine/arm/strcmp-armv6.S: Likewise. * libc/machine/arm/strcmp-armv6m.S: Likewise. * libc/machine/arm/strcmp-armv7.S: Likewise. * libc/machine/arm/strcmp-armv7m.S: Likewise.
Diffstat (limited to 'newlib/ChangeLog')
-rw-r--r--newlib/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index c38588b4b..9ae8c8db8 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,14 @@
+2015-11-12 Joseph Myers <joseph@codesourcery.com>
+
+ * libc/machine/arm/strcmp-arm-tiny.S: Use .cfi_sections
+ .debug_frame.
+ * libc/machine/arm/strcmp-armv4.S: Likewise.
+ * libc/machine/arm/strcmp-armv4t.S: Likewise.
+ * libc/machine/arm/strcmp-armv6.S: Likewise.
+ * libc/machine/arm/strcmp-armv6m.S: Likewise.
+ * libc/machine/arm/strcmp-armv7.S: Likewise.
+ * libc/machine/arm/strcmp-armv7m.S: Likewise.
+
2015-11-06 Marcus Shawcroft <marcus.shawcroft@arm.com>
* libc/machine/arm/Makefile.am: Drop MEMCHR_SRC and MEMCHR_OBJ.