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]

Re: SPU stack sizing


Alan Modra wrote:

> +	psyms = (Elf_Internal_Sym **) &symtab_hdr->contents;

This results in:

/home/uweigand/fsf/gdb-head/bfd/elf32-spu.c: In function 'spu_elf_size_stubs':
/home/uweigand/fsf/gdb-head/bfd/elf32-spu.c:874: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/uweigand/fsf/gdb-head/bfd/elf32-spu.c: In function 'mark_functions_via_relocs':
/home/uweigand/fsf/gdb-head/bfd/elf32-spu.c:1901: warning: dereferencing type-punned pointer will break strict-aliasing rules

using the FC6 system gcc, breaking the -Werror build.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]