[Bug binutils/11382] New: Missing FILE * casts in bfd/plugin.c

2010-03-16 Thread vincent at labri dot fr
binutils-2.20.1 fail to build on NetBSD for a few reasons. One of them is that fileno() is a macro and the iostream field of struct bfd (see bfd/bfd-in2.h) is a void *. The two calls to fileno() in bfd/plugin.c lack the cast to FILE*. Grepping around shows such casts, so it looks like adding the

[Bug binutils/11383] New: bin2c cannot link because it requires libintl

2010-03-16 Thread vincent at labri dot fr
Trying to compile binutils 2.20.1 fails because the bin2c utility cannot link. The undefined symbols are clearly from libintl, so adding $(LIBINTL) to the command line in the generated binutils/Makefile allowed me to continue the build. I'm not sure what is the way to go here: either add $(LIBIN

[Bug binutils/11384] New: missing EOF statement at... eof of ld/emultempl/sh64elf.em

2010-03-16 Thread vincent at labri dot fr
following up on trying to compile binutils under netbsd... (with all targets enabled) The file ld/emultempl/sh64elf.em contains a "here-document" (

[Bug binutils/11386] New: objcopy should be able to update dynamic symbols visibility

2010-03-16 Thread yann at droneaud dot fr
Objcopy can change symbol visibility with --localize-symbol / --globalize-symbol / --weaken-symbol but this affect only symbols not dynamics symbols. objcopy should be able to work on .dynsym. -- Summary: objcopy should be able to update dynamic symbols visibility