diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 35aae25301..596c57764e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2010-11-15 Mike Frysinger + + PR binutils/12177 + * elf32-bfin.c (_bfin_create_got_section): Drop unused flags code. + 2010-11-12 H.J. Lu * archive.c (_bfd_get_elt_at_filepos): Copy BFD_COMPRESS and diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c index 237391b201..38f31e4f5a 100644 --- a/bfd/elf32-bfin.c +++ b/bfd/elf32-bfin.c @@ -3442,14 +3442,8 @@ _bfin_create_got_section (bfd *abfd, struct bfd_link_info *info) return FALSE; bfinfdpic_gotfixup_section (info) = s; - flags = BSF_GLOBAL; - } - else - { - flags = BSF_GLOBAL | BSF_WEAK; } - flags = pltflags; pltflags |= SEC_CODE; if (bed->plt_not_loaded) pltflags &= ~ (SEC_CODE | SEC_LOAD | SEC_HAS_CONTENTS);