ia64: fix strict aliasing warnings with func descriptors
commitc5abd7ce01539dc5224f7533c9d1048900992317
authorMike Frysinger <vapier@gentoo.org>
Sun, 10 Mar 2013 11:49:29 +0000 (10 11:49 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Mar 2013 10:00:05 +0000 (12 06:00 -0400)
treecca3fe48d201c7078fd530f55913ce9ce01eec83
parentb7845b638818f32401070f00a61d3b42595ab223
ia64: fix strict aliasing warnings with func descriptors

Function pointers on ia64 are like parisc -- they're plabels.  While
the parisc port enjoys a gcc builtin for extracting the address here,
ia64 has no such luck.

Casting & dereferencing in one go triggers a strict aliasing warning.
Use a union to fix that.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
ports/ChangeLog.ia64
ports/sysdeps/ia64/dl-fptr.h
ports/sysdeps/ia64/dl-machine.h
ports/sysdeps/ia64/entry.h
ports/sysdeps/unix/sysv/linux/ia64/makecontext.c