• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisiónb9dfae3c245cc41f95bc4158e6f656ada65397ca (tree)
Tiempo2016-02-27 01:53:07
AutorJiong Wang <jiong.wang@arm....>
CommiterJiong Wang

Log Message

[Testsuite] treate -specs as both cflags & ldflags

Backport from master
2014-11-11 Jiong Wang <jiong.wang@arm.com>

ld/testsuite/

* lib/ld-lib.exp (run_ld_link_exec_tests): Append board_cflags if gcc
driver used as link tool.
(run_cc_link_exec_tests): Likewise.

Cambiar Resumen

Diferencia incremental

--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,6 +1,15 @@
11 2016-02-26 Jiong Wang <jiong.wang@arm.com>
22
33 Backport from master:
4+ 2014-11-11 Jiong Wang <jiong.wang@arm.com>
5+
6+ * lib/ld-lib.exp (run_ld_link_exec_tests): Append board_cflags if gcc
7+ driver used as link tool.
8+ (run_cc_link_exec_tests): Likewise.
9+
10+2016-02-26 Jiong Wang <jiong.wang@arm.com>
11+
12+ Backport from master:
413 2014-10-30 Will Newton <will.newton@linaro.org>
514
615 * ld-unique/unique.exp: Use a wider glob for matching ARM
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1444,6 +1444,13 @@ proc run_cc_link_tests { ldtests } {
14441444 global CXXFLAGS
14451445 global ar
14461446 global exec_output
1447+ global board_cflags
1448+
1449+ if [board_info [target_info name] exists cflags] {
1450+ set board_cflags " [board_info [target_info name] cflags]"
1451+ } else {
1452+ set board_cflags ""
1453+ }
14471454
14481455 foreach testitem $ldtests {
14491456 set testname [lindex $testitem 0]
@@ -1500,7 +1507,7 @@ proc run_cc_link_tests { ldtests } {
15001507 set failed 1
15011508 }
15021509 } else {
1503- if { ![ld_simple_link $cc_cmd $binfile "-L$srcdir/$subdir $ldflags $objfiles"] } {
1510+ if { ![ld_simple_link $cc_cmd $binfile "$board_cflags -L$srcdir/$subdir $ldflags $objfiles"] } {
15041511 set failed 1
15051512 }
15061513