Re: [PATCH] arm64: move elf notes into readonly segment

2013-08-27 Thread Catalin Marinas
On Tue, Aug 27, 2013 at 02:01:01PM +0100, Mark Salter wrote: > On Tue, 2013-08-27 at 11:49 +0100, Catalin Marinas wrote: > > On Fri, Aug 23, 2013 at 04:16:42PM +0100, Mark Salter wrote: > > > The current vmlinux.lds.S places the notes sections between the > > > end of rw data and start of bss.

Re: [PATCH] arm64: move elf notes into readonly segment

2013-08-27 Thread Mark Salter
On Tue, 2013-08-27 at 11:49 +0100, Catalin Marinas wrote: > On Fri, Aug 23, 2013 at 04:16:42PM +0100, Mark Salter wrote: > > The current vmlinux.lds.S places the notes sections between the > > end of rw data and start of bss. This means that _edata doesn't > > really point to the end of data.

Re: [PATCH] arm64: move elf notes into readonly segment

2013-08-27 Thread Catalin Marinas
On Fri, Aug 23, 2013 at 04:16:42PM +0100, Mark Salter wrote: > The current vmlinux.lds.S places the notes sections between the > end of rw data and start of bss. This means that _edata doesn't > really point to the end of data. Since notes are read-only, this > patch moves them to the read-only

Re: [PATCH] arm64: move elf notes into readonly segment

2013-08-27 Thread Catalin Marinas
On Fri, Aug 23, 2013 at 04:16:42PM +0100, Mark Salter wrote: The current vmlinux.lds.S places the notes sections between the end of rw data and start of bss. This means that _edata doesn't really point to the end of data. Since notes are read-only, this patch moves them to the read-only

Re: [PATCH] arm64: move elf notes into readonly segment

2013-08-27 Thread Mark Salter
On Tue, 2013-08-27 at 11:49 +0100, Catalin Marinas wrote: On Fri, Aug 23, 2013 at 04:16:42PM +0100, Mark Salter wrote: The current vmlinux.lds.S places the notes sections between the end of rw data and start of bss. This means that _edata doesn't really point to the end of data. Since notes

Re: [PATCH] arm64: move elf notes into readonly segment

2013-08-27 Thread Catalin Marinas
On Tue, Aug 27, 2013 at 02:01:01PM +0100, Mark Salter wrote: On Tue, 2013-08-27 at 11:49 +0100, Catalin Marinas wrote: On Fri, Aug 23, 2013 at 04:16:42PM +0100, Mark Salter wrote: The current vmlinux.lds.S places the notes sections between the end of rw data and start of bss. This means

[PATCH] arm64: move elf notes into readonly segment

2013-08-23 Thread Mark Salter
The current vmlinux.lds.S places the notes sections between the end of rw data and start of bss. This means that _edata doesn't really point to the end of data. Since notes are read-only, this patch moves them to the read-only segment so that _edata does point to the end of initialized rw data.

[PATCH] arm64: move elf notes into readonly segment

2013-08-23 Thread Mark Salter
The current vmlinux.lds.S places the notes sections between the end of rw data and start of bss. This means that _edata doesn't really point to the end of data. Since notes are read-only, this patch moves them to the read-only segment so that _edata does point to the end of initialized rw data.