AIX 5.1 on IA-64 patches
Richard Henderson
rth@redhat.com
Mon Jun 4 15:55:00 GMT 2001
On Sun, Jun 03, 2001 at 03:55:43PM -0400, Timothy Wall wrote:
> + tm_file=ia64/aix.h
Do fix up the include bits David O'Brian pointed out.
> .proc _init#
> _init:
> .prologue 14, 33
> .save ar.pfs, r34
> alloc r34 = ar.pfs, 0, 4, 0, 0
> .vframe r35
> mov r35 = r12
> .save rp, r33
> mov r33 = b0
> .body
This _can't_ be right. There's no .endp to match the .proc in
this file. If this doesn't give an error it is an assembler bug.
> .section ".init"
> ;;
> mov ar.pfs = r34
> mov b0 = r33
> .restore sp
> mov r12 = r35
> br.ret.sptk.many b0
> .endp _init#
Similarly. There's absolutely zero chance that _init or _fini can
have a proper unwind descriptor. You shouldn't even try.
> #if 0
> /* This would seem to be the right thing to do, except that output.h gets
> included after this file... */
Don't include this stuff.
> // FIXME need a DSO lock mechanism for AIX here, to ensure shared
> // libraries
> // aren't changed while we're examining them.
No // comments in C code.
r~
More information about the Gcc-patches
mailing list