From: John David Anglin <dave.anglin@bell.net>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: [committed] Update target-supports.exp for hppa*-*-hpux*
Date: Sat, 09 Mar 2019 19:15:00 -0000 [thread overview]
Message-ID: <bd59b9d5-8675-0db4-a99c-a7be9d6f62cc@bell.net> (raw)
The hppa*-*-hpux* doesn't support undefined weak. The existing check doesn't work
on the 64-bit runtime.
Likewise, we don't have ascii locale.
Committed to trunk.
Dave
--
John David Anglin dave.anglin@bell.net
2019-03-09 John David Anglin <dave.anglin@bell.net>
* lib/target-supports.exp (check_effective_target_weak_undefined):
Return 0 on hppa*-*-hpux*.
(check_ascii_locale_available): Likewise.
Index: lib/target-supports.exp
===================================================================
--- lib/target-supports.exp (revision 269442)
+++ lib/target-supports.exp (working copy)
@@ -341,6 +341,9 @@
# return 1 if weak undefined symbols are supported.
proc check_effective_target_weak_undefined { } {
+ if { [istarget hppa*-*-hpux*] } {
+ return 0
+ }
return [check_runtime weak_undefined {
extern void foo () __attribute__((weak));
int main (void) { if (foo) return 1; return 0; }
@@ -1427,6 +1430,9 @@
# Return 1 if an ASCII locale is supported on this host, 0 otherwise.
proc check_ascii_locale_available { } {
+ if { [istarget hppa*-*-hpux*] } {
+ return 0
+ }
return 1
}
reply other threads:[~2019-03-09 18:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bd59b9d5-8675-0db4-a99c-a7be9d6f62cc@bell.net \
--to=dave.anglin@bell.net \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).