[PATCHv3 4/7] arc: Remove EF_ARC_CPU_GENERIC constant.

Andrew Burgess andrew.burgess@embecosm.com
Wed Mar 16 11:16:00 GMT 2016


* Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com> [2016-03-16 11:06:16 +0000]:

> I am not very sure about this patch. The official Synopsys ARC
> compiler doesn't set the e_flags. The code you just removed was made
> to handle those situations. Did you made some testing against those
> kind of situations.

No I only considered the GNU tools.  I will try to create a test and
see what happens, I may revise, or drop this patch from the series
then.

Out of interest, how do you tell if an ELF is ARC700 / ARCEM / etc
when it is compiled with the official tools if not by using the
e_flags?  Is there some other field that should be used?

Thanks,
Andrew



More information about the Binutils mailing list