Re: [PATCH v6 03/28] powerpc/xmon: Move breakpoints to text section

2020-04-28 Thread Jordan Niethe
On Tue, Apr 28, 2020 at 3:36 PM Christophe Leroy wrote: > > > > Le 28/04/2020 à 07:30, Jordan Niethe a écrit : > > On Tue, Apr 28, 2020 at 3:20 PM Christophe Leroy > > wrote: > >> > >> > >> > >> Le 28/04/2020 à 03:57, Jordan Niethe a écrit : > >>> The instructions for xmon's breakpoint are stored

Re: [PATCH v6 03/28] powerpc/xmon: Move breakpoints to text section

2020-04-27 Thread Christophe Leroy
Le 28/04/2020 à 07:30, Jordan Niethe a écrit : On Tue, Apr 28, 2020 at 3:20 PM Christophe Leroy wrote: Le 28/04/2020 à 03:57, Jordan Niethe a écrit : The instructions for xmon's breakpoint are stored bpt_table[] which is in the data section. This is problematic as the data section may be

Re: [PATCH v6 03/28] powerpc/xmon: Move breakpoints to text section

2020-04-27 Thread Jordan Niethe
On Tue, Apr 28, 2020 at 3:20 PM Christophe Leroy wrote: > > > > Le 28/04/2020 à 03:57, Jordan Niethe a écrit : > > The instructions for xmon's breakpoint are stored bpt_table[] which is in > > the data section. This is problematic as the data section may be marked > > as no execute. Move bpt_table

Re: [PATCH v6 03/28] powerpc/xmon: Move breakpoints to text section

2020-04-27 Thread Christophe Leroy
Le 28/04/2020 à 03:57, Jordan Niethe a écrit : The instructions for xmon's breakpoint are stored bpt_table[] which is in the data section. This is problematic as the data section may be marked as no execute. Move bpt_table[] to the text section. Signed-off-by: Jordan Niethe --- v6: - New to

[PATCH v6 03/28] powerpc/xmon: Move breakpoints to text section

2020-04-27 Thread Jordan Niethe
The instructions for xmon's breakpoint are stored bpt_table[] which is in the data section. This is problematic as the data section may be marked as no execute. Move bpt_table[] to the text section. Signed-off-by: Jordan Niethe --- v6: - New to series. Was part of the previous patch. - Make B