From: "augustine.sterling@gmail.com" <augustine.sterling@gmail.com>
To: Max Filippov <jcmvbkbc@gmail.com>
Cc: binutils@sourceware.org, gdb-patches@sourceware.org,
David Weatherford <weath@cadence.com>,
Maxim Grigoriev <maxim2405@gmail.com>,
Woody LaRue <larue@cadence.com>
Subject: Re: [RFC 2/5] xtensa: make configuration dynamic
Date: Fri, 26 May 2017 18:10:00 -0000 [thread overview]
Message-ID: <CAGSvup-hX4jDUJZR22VfMf7o9TTGTB2ktROjY1FuoJdOKCJY-Q@mail.gmail.com> (raw)
In-Reply-To: <1495487553-19078-3-git-send-email-jcmvbkbc@gmail.com>
On Mon, May 22, 2017 at 2:12 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> Now that XCHAL_* macros don't have to be preprocessor constants add
> include/xtensa-dynconfig.h that defines them as fields of a structure
> returned from the xtensa_get_config function.
> Define that structure and fill it with default parameter values
> specified in the include/xtensa-config.h.
> Define reusable function xtensa_load_config that tries to load
> configuration and return an address of an exported object from it.
> Define the function xtensa_get_config that uses xtensa_load_config to
> get structure xtensa_config, either dynamically configured or the
> default.
>
> 2017-05-22 Max Filippov <jcmvbkbc@gmail.com>
> bfd/
> * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Append
> xtensa-config.c.
> * Makefile.in: Regenerate.
> * configure: Regenerate.
> * configure.ac (xtensa_elf32_be_vec, xtensa_elf32_le_vec): Add
> xtensa-config.lo to the tb.
> * elf32-xtensa.c (xtensa-config.h): Replace #include with
> xtensa-dynconfig.h.
> * xtensa-config.c: New file.
>
> gas/
> * config/tc-xtensa.c (xtensa-config.h): Replace #include with
> xtensa-dynconfig.h.
> * config/tc-xtensa.h: Likewise.
> * config/xtensa-relax.c: Likewise.
>
> include/
> * xtensa-dynconfig.h: New file.
>
> ld/
> * Makefile.am (eelf32xtensa.c): Add $(INCDIR)/xtensa-dynconfig.h
> to the list of dependencies.
> * Makefile.in: Regenerate.
> * emultempl/xtensaelf.em (xtensa-config.h): Replace #include
> with xtensa-dynconfig.h.
This is ok.
next prev parent reply other threads:[~2017-05-26 18:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-22 21:12 [RFC 0/5] xtensa: support dynamic configuration Max Filippov
2017-05-22 21:12 ` [RFC 3/5] xtensa: support dynconfig on windows Max Filippov
2017-06-12 15:45 ` Nick Clifton
2017-05-22 21:12 ` [RFC 2/5] xtensa: make configuration dynamic Max Filippov
2017-05-26 18:10 ` augustine.sterling [this message]
2017-05-26 18:15 ` augustine.sterling
2017-06-06 12:53 ` Nick Clifton
2017-06-07 19:13 ` Max Filippov
2017-05-22 21:12 ` [RFC 1/5] xtensa: don't expect XCHAL_* macros to be constant Max Filippov
2017-05-26 17:36 ` augustine.sterling
2017-05-22 21:13 ` [RFC 4/5] xtensa: make xtensa_modules dynamic Max Filippov
2017-06-12 15:49 ` Nick Clifton
2017-05-22 21:13 ` [RFC 5/5] gdb: xtensa: make tdep and linux-nat dynamically configurable Max Filippov
2017-06-06 12:41 ` [RFC 0/5] xtensa: support dynamic configuration Nick Clifton
2017-06-07 19:23 ` Max Filippov
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=CAGSvup-hX4jDUJZR22VfMf7o9TTGTB2ktROjY1FuoJdOKCJY-Q@mail.gmail.com \
--to=augustine.sterling@gmail.com \
--cc=binutils@sourceware.org \
--cc=gdb-patches@sourceware.org \
--cc=jcmvbkbc@gmail.com \
--cc=larue@cadence.com \
--cc=maxim2405@gmail.com \
--cc=weath@cadence.com \
/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