This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi there, When building Binutils with FreeBSD's stock compiler (Clang 3.4.1), I observe a small number of compiler warnings that get turned into errors. More specifically: - cpu_flags_set(): this function doesn't seem to be used. - gld*_before_allocation(): we attempt to initialize a variable with itself. It looks like there's no need to initialize this variable, as its use is always guarded by ehdr_start. Attached is a patch that fixes both these compiler warnings. -- Ed Schouten <ed@nuxi.nl>
Attachment:
binutils-warnings.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |