[ARM] add missing -funwind-tables to test case

Message ID 56BC9F32.4030806@arm.com
State New, archived
Headers

Commit Message

Szabolcs Nagy Feb. 11, 2016, 2:48 p.m. UTC
  stdlib/tst-makecontext test fails on arm because it uses backtrace without -funwind-tables.

2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
  

Comments

Joseph Myers Feb. 11, 2016, 4:46 p.m. UTC | #1
OK, but include [BZ #19529] (and close the bug as fixed with appropriate 
milestone) if that fixes that bug.
  

Patch

diff --git a/stdlib/Makefile b/stdlib/Makefile
index e406856..26fe67a 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -112,6 +112,7 @@  CFLAGS-strfmon_l.c = $(libio-mtsafe)
 
 CFLAGS-tst-bsearch.c = $(stack-align-test-flags)
 CFLAGS-tst-qsort.c = $(stack-align-test-flags)
+CFLAGS-tst-makecontext.c += -funwind-tables
 CFLAGS-tst-makecontext2.c = $(stack-align-test-flags)
 
 # Run a test on the header files we use.