Re: [RFC 2/5] gcc: xtensa: make configuration dynamic

2017-05-26 Thread Max Filippov
On Fri, May 26, 2017 at 7:44 AM, Ian Lance Taylor wrote: > On Thu, May 25, 2017 at 1:31 PM, Max Filippov wrote: >> On Thu, May 25, 2017 at 11:24 AM, augustine.sterl...@gmail.com >> wrote: >> >>> Please note that by using a plugin mechanism, there are licensing >>> issues that come into play, tha

Re: [RFC 2/5] gcc: xtensa: make configuration dynamic

2017-05-26 Thread Ian Lance Taylor via gcc-patches
On Thu, May 25, 2017 at 1:31 PM, Max Filippov wrote: > On Thu, May 25, 2017 at 11:24 AM, augustine.sterl...@gmail.com > wrote: > >> Please note that by using a plugin mechanism, there are licensing >> issues that come into play, that are different from the usual >> licensing issues. I would be ab

Re: [RFC 2/5] gcc: xtensa: make configuration dynamic

2017-05-25 Thread Max Filippov
On Thu, May 25, 2017 at 11:24 AM, augustine.sterl...@gmail.com wrote: > On Mon, May 22, 2017 at 2:09 PM, Max Filippov 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_

Re: [RFC 2/5] gcc: xtensa: make configuration dynamic

2017-05-25 Thread augustine.sterl...@gmail.com
On Mon, May 22, 2017 at 2:09 PM, Max Filippov 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 parame