From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH 3/4] sim: mcore: use common configure options
Date: Sun, 29 Mar 2015 08:13:00 -0000 [thread overview]
Message-ID: <1427616825-27500-3-git-send-email-vapier@gentoo.org> (raw)
In-Reply-To: <1427616825-27500-1-git-send-email-vapier@gentoo.org>
In preparation for converting to nrun, call the common functions that
are needed. This doesn't produce any new warnings, and the generated
code should be the same.
Committed.
---
sim/mcore/ChangeLog | 7 +
sim/mcore/config.in | 15 ++
sim/mcore/configure | 417 ++++++++++++++++++++++++++++++++++++++++++++++++-
sim/mcore/configure.ac | 5 +
4 files changed, 442 insertions(+), 2 deletions(-)
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog
index f6089c8..88e67d2 100644
--- a/sim/mcore/ChangeLog
+++ b/sim/mcore/ChangeLog
@@ -1,5 +1,12 @@
2015-03-29 Mike Frysinger <vapier@gentoo.org>
+ * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
+ SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, and
+ SIM_AC_OPTION_INLINE.
+ * config.in, configure: Regenerate.
+
+2015-03-29 Mike Frysinger <vapier@gentoo.org>
+
* interp.c (heap_ptr, int_sbrk): Delete.
(handle_trap1): Change case 69 (sbrk) to always return -1.
(sim_load): Delete bss checks and heap_ptr setup.
diff --git a/sim/mcore/config.in b/sim/mcore/config.in
index 5ded703..6003e58 100644
diff --git a/sim/mcore/configure b/sim/mcore/configure
index c7e82ec..af6e579 100755
diff --git a/sim/mcore/configure.ac b/sim/mcore/configure.ac
index 0daa1af..96d0ffd 100644
--- a/sim/mcore/configure.ac
+++ b/sim/mcore/configure.ac
@@ -5,6 +5,11 @@ sinclude(../common/acinclude.m4)
SIM_AC_COMMON
+SIM_AC_OPTION_ENDIAN
+SIM_AC_OPTION_ALIGNMENT(STRICT_ALIGNMENT,STRICT_ALIGNMENT)
+SIM_AC_OPTION_HOSTENDIAN
+SIM_AC_OPTION_ENVIRONMENT
+SIM_AC_OPTION_INLINE
SIM_AC_OPTION_WARNINGS
SIM_AC_OUTPUT
--
2.3.4
next prev parent reply other threads:[~2015-03-29 8:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-29 8:13 [PATCH 1/4] sim: mcore: drop sbrk support Mike Frysinger
2015-03-29 8:13 ` [PATCH 2/4] sim: mcore: add a basic testsuite Mike Frysinger
2015-03-29 8:13 ` Mike Frysinger [this message]
2015-03-29 8:13 ` [PATCH 4/4] sim: mcore: convert to nrun Mike Frysinger
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=1427616825-27500-3-git-send-email-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gdb-patches@sourceware.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).