[PATCH 1/9] [ARC] Avoid creating dynamic relocs when static linked is requested.

Nick Clifton nickc@redhat.com
Tue Jun 6 12:09:00 GMT 2017


Hi Cupertino,

  First of all - sorry for taking so long to look at this patch series.

> 	* elf32-arc.c (ADD_RELA): Changed to only work when dynamic object is
> 	created.

One thing that struck me about this patch is - what should happen if dynamic
sections are not being created ?  IE is it an error to invoke the ADD_RELA
macro if dynamic sections are not being emitted ?  If so, then maybe this
macro should be extended to include an error message...

Cheers
  Nick




More information about the Binutils mailing list