Re: [U-Boot] [PATCH] arm: lib: fix push/pop-section directives

2016-06-04 Thread Marek Vasut
On 06/04/2016 03:04 PM, Tom Rini wrote: > On Sat, Jun 04, 2016 at 02:43:06AM +0200, Marek Vasut wrote: >> On 06/03/2016 09:14 PM, Tom Rini wrote: >>> On Fri, Jun 03, 2016 at 01:05:11PM -0600, Stephen Warren wrote: >>> From: Stephen Warren With the existing code, function symbols are

Re: [U-Boot] [PATCH] arm: lib: fix push/pop-section directives

2016-06-04 Thread Tom Rini
On Sat, Jun 04, 2016 at 02:43:06AM +0200, Marek Vasut wrote: > On 06/03/2016 09:14 PM, Tom Rini wrote: > > On Fri, Jun 03, 2016 at 01:05:11PM -0600, Stephen Warren wrote: > > > >> From: Stephen Warren > >> > >> With the existing code, function symbols are defined in .text, and the > >> body is de

Re: [U-Boot] [PATCH] arm: lib: fix push/pop-section directives

2016-06-03 Thread Marek Vasut
On 06/03/2016 09:14 PM, Tom Rini wrote: > On Fri, Jun 03, 2016 at 01:05:11PM -0600, Stephen Warren wrote: > >> From: Stephen Warren >> >> With the existing code, function symbols are defined in .text, and the >> body is defined in .text.xxx. This causes (at least some version of) the >> linker no

Re: [U-Boot] [PATCH] arm: lib: fix push/pop-section directives

2016-06-03 Thread Tom Rini
On Fri, Jun 03, 2016 at 01:05:11PM -0600, Stephen Warren wrote: > From: Stephen Warren > > With the existing code, function symbols are defined in .text, and the > body is defined in .text.xxx. This causes (at least some version of) the > linker not to emit the function body into the final binar

[U-Boot] [PATCH] arm: lib: fix push/pop-section directives

2016-06-03 Thread Stephen Warren
From: Stephen Warren With the existing code, function symbols are defined in .text, and the body is defined in .text.xxx. This causes (at least some version of) the linker not to emit the function body into the final binary, since it's part of a different section to the symbols being referenced.