Re: [PATCH] x86-64: fix vDSO build

2014-07-09 Thread Andrew Morton
On Thu, 03 Jul 2014 15:34:38 +0100 "Jan Beulich" wrote: > Certain ld versions (observed with 2.20.0) put an empty .rela.dyn > section into shared object files, breaking the assumption on the number > of sections to be copied to the final output. Simply discard any empty > SHT_REL and SHT_RELA

Re: [PATCH] x86-64: fix vDSO build

2014-07-09 Thread Andrew Morton
On Thu, 03 Jul 2014 15:34:38 +0100 Jan Beulich jbeul...@suse.com wrote: Certain ld versions (observed with 2.20.0) put an empty .rela.dyn section into shared object files, breaking the assumption on the number of sections to be copied to the final output. Simply discard any empty SHT_REL and

Re: [PATCH] x86-64: fix vDSO build

2014-07-03 Thread Boris Ostrovsky
On 07/03/2014 10:34 AM, Jan Beulich wrote: Certain ld versions (observed with 2.20.0) put an empty .rela.dyn section into shared object files, breaking the assumption on the number of sections to be copied to the final output. Simply discard any empty SHT_REL and SHT_RELA sections to address

Re: [PATCH] x86-64: fix vDSO build

2014-07-03 Thread Andy Lutomirski
On Thu, Jul 3, 2014 at 7:34 AM, Jan Beulich wrote: > Certain ld versions (observed with 2.20.0) put an empty .rela.dyn > section into shared object files, breaking the assumption on the number > of sections to be copied to the final output. Simply discard any empty > SHT_REL and SHT_RELA sections

[PATCH] x86-64: fix vDSO build

2014-07-03 Thread Jan Beulich
Certain ld versions (observed with 2.20.0) put an empty .rela.dyn section into shared object files, breaking the assumption on the number of sections to be copied to the final output. Simply discard any empty SHT_REL and SHT_RELA sections to address this. Signed-off-by: Jan Beulich Cc: Andy

[PATCH] x86-64: fix vDSO build

2014-07-03 Thread Jan Beulich
Certain ld versions (observed with 2.20.0) put an empty .rela.dyn section into shared object files, breaking the assumption on the number of sections to be copied to the final output. Simply discard any empty SHT_REL and SHT_RELA sections to address this. Signed-off-by: Jan Beulich

Re: [PATCH] x86-64: fix vDSO build

2014-07-03 Thread Andy Lutomirski
On Thu, Jul 3, 2014 at 7:34 AM, Jan Beulich jbeul...@suse.com wrote: Certain ld versions (observed with 2.20.0) put an empty .rela.dyn section into shared object files, breaking the assumption on the number of sections to be copied to the final output. Simply discard any empty SHT_REL and

Re: [PATCH] x86-64: fix vDSO build

2014-07-03 Thread Boris Ostrovsky
On 07/03/2014 10:34 AM, Jan Beulich wrote: Certain ld versions (observed with 2.20.0) put an empty .rela.dyn section into shared object files, breaking the assumption on the number of sections to be copied to the final output. Simply discard any empty SHT_REL and SHT_RELA sections to address