OSDN Git Service

bfd: bfin: drop needless symbol flag handling imported from FRV
authorvapier <vapier>
Mon, 15 Nov 2010 08:33:59 +0000 (08:33 +0000)
committervapier <vapier>
Mon, 15 Nov 2010 08:33:59 +0000 (08:33 +0000)
commitcd97d137f678c1ecad4c59ed290b16503b8e08b5
treee652069cdd168697d059272d2140d52707b2cfec
parentf2b6cd4edf163f3a1c7fb5c670f57b029039406b
bfd: bfin: drop needless symbol flag handling imported from FRV

The Blackfin bfd merged some FRV code recently, and then removed pieces
that didn't make sense.  In the FRV code, it outputs a "_gp" symbol in
its BFD whereas in the Blackfin code, we don't.  So while on the FRV
side it fiddles with the "flags" variable (sometimes using it for section
flags and sometimes using it for symbol flags), we don't need any of
that.  This lead to BZ 12177 where the Blackfin code is a bit confusing.
So to fix things up, remove more stuff we don't need.  Shouldn't change
the behavior at all.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
bfd/ChangeLog
bfd/elf32-bfin.c