Re: [PATCH] UML: don't discard .text.exit section

2016-08-23 Thread Richard Weinberger
On 23.08.2016 11:59, Andrey Ryabinin wrote: >> Andrey, shall I carry this patch through the UML tree or >> do you have something else in mind? >> > > Take it in the UML tree please. Ok! Applied to -next. Thanks, //richard

Re: [PATCH] UML: don't discard .text.exit section

2016-08-23 Thread Andrey Ryabinin
On 08/22/2016 11:10 PM, Richard Weinberger wrote: > On 19.08.2016 17:24, Dmitry Vyukov wrote: >> If it exits then >> >> Acked-by: Dmitry Vyukov > > Andrey, shall I carry this patch through the UML tree or > do you have something else in mind? > Take it in the UML tree please. > Thanks, > //r

Re: [PATCH] UML: don't discard .text.exit section

2016-08-22 Thread Richard Weinberger
On 19.08.2016 17:24, Dmitry Vyukov wrote: > If it exits then > > Acked-by: Dmitry Vyukov Andrey, shall I carry this patch through the UML tree or do you have something else in mind? Thanks, //richard

Re: [PATCH] UML: don't discard .text.exit section

2016-08-19 Thread Andrey Ryabinin
On 08/19/2016 02:16 PM, Richard Weinberger wrote: > On 19.08.2016 12:48, Andrey Ryabinin wrote: >> On 08/19/2016 03:14 AM, Dmitry Vyukov wrote: >>> On Thu, Aug 18, 2016 at 3:08 AM, Andrey Ryabinin >>> wrote: > > Sorry for delays, I am travelling. > Do we need ".fini_array" secti

Re: [PATCH] UML: don't discard .text.exit section

2016-08-19 Thread Dmitry Vyukov
On Fri, Aug 19, 2016 at 6:06 AM, Andrey Ryabinin wrote: > > > On 08/19/2016 02:16 PM, Richard Weinberger wrote: >> On 19.08.2016 12:48, Andrey Ryabinin wrote: >>> On 08/19/2016 03:14 AM, Dmitry Vyukov wrote: On Thu, Aug 18, 2016 at 3:08 AM, Andrey Ryabinin wrote: > >> >> Sor

Re: [PATCH] UML: don't discard .text.exit section

2016-08-19 Thread Richard Weinberger
On 19.08.2016 12:48, Andrey Ryabinin wrote: > On 08/19/2016 03:14 AM, Dmitry Vyukov wrote: >> On Thu, Aug 18, 2016 at 3:08 AM, Andrey Ryabinin >> wrote: >>> Sorry for delays, I am travelling. Do we need ".fini_array" section? It's also destructors that we don't run. Or does UML

Re: [PATCH] UML: don't discard .text.exit section

2016-08-19 Thread Andrey Ryabinin
On 08/19/2016 03:14 AM, Dmitry Vyukov wrote: > On Thu, Aug 18, 2016 at 3:08 AM, Andrey Ryabinin > wrote: >> >>> >>> Sorry for delays, I am travelling. >>> Do we need ".fini_array" section? It's also destructors that we don't >>> run. Or does UML use them? Does discarding ".fini_array" help? >>> >>

Re: [PATCH] UML: don't discard .text.exit section

2016-08-18 Thread Dmitry Vyukov
On Thu, Aug 18, 2016 at 3:08 AM, Andrey Ryabinin wrote: > > > On 08/17/2016 08:11 PM, Dmitry Vyukov wrote: >> On Wed, Aug 17, 2016 at 8:10 AM, Andrey Ryabinin >> wrote: >>> Commit e41f501d3912 ("vmlinux.lds: account for destructor sections") >>> added '.text.exit' to EXIT_TEXT which is discarded

Re: [PATCH] UML: don't discard .text.exit section

2016-08-18 Thread Andrey Ryabinin
On 08/17/2016 08:11 PM, Dmitry Vyukov wrote: > On Wed, Aug 17, 2016 at 8:10 AM, Andrey Ryabinin > wrote: >> Commit e41f501d3912 ("vmlinux.lds: account for destructor sections") >> added '.text.exit' to EXIT_TEXT which is discarded at link time by default. >> This breaks compilation of UML: >>

Re: [PATCH] UML: don't discard .text.exit section

2016-08-17 Thread Dmitry Vyukov
On Wed, Aug 17, 2016 at 8:10 AM, Andrey Ryabinin wrote: > Commit e41f501d3912 ("vmlinux.lds: account for destructor sections") > added '.text.exit' to EXIT_TEXT which is discarded at link time by default. > This breaks compilation of UML: > `.text.exit' referenced in section `.fini_array' of