SPU stack sizing

Ulrich Weigand uweigand@de.ibm.com
Mon May 7 21:05:00 GMT 2007


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



More information about the Binutils mailing list