Updates for improved reusability/clarity

Ian Lance Taylor iant@google.com
Sat May 30 01:09:00 GMT 2009


Martin Thuresson <martin@mtme.org> writes:

> In bfd/elf-bfd.h, the union gotplt_unit is defined inside struct
> elf_link_hash_entry, but is then used in other structs. This does not
> compile with c++. I therefor suggest to move gotplt_unit.

Hi Martin.  I think you should build the development sources of gcc and
use it to compile the GNU binutils with -Wc++-compat.  -Wc++-compat is
much tougher in development gcc.  I think, perhaps optimistically, that
there would be few objections to fixing anything found by that warning.

In any case, just go ahead and propose the patches.  People are
infinitely more likely to comment on a specific proposed patch than they
are to comment on a general question about a possible change.

Ian



More information about the Binutils mailing list