This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[PATCH] libjava support for AIX


This patch adds support for AIX to libjava.  Mainly, adding aix-signal.h
and adjusting the PowerPC version of locks.h to not use GNU
Assembler syntax for branches.

The only ugliness is undefining "hz" in fdlibm.h, which gets
imported from an AIX header file because of the macros used.

With this and the jc1 fixes, all of libjava compiles.

Bootstrapped on powerpc-ibm-aix5.3.0.0.

David

        PR target/35485
        * configure.ac: AIX threads are Posix threads.
        Define aix-signal.h signal handler.
        * classpath/native/fdlibm/fdlibm.h: Undef hz.
        * include/aix-signal.h: New file.
        * sysdep/powerpc/locks.h: Avoid GNU Assembler syntax.

Attachment: libjava-diff
Description: Binary data


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