[PATCH] libiberty simple object XCOFF support

David Edelsohn dje.gcc@gmail.com
Tue Jan 1 17:04:00 GMT 2013

The attached patch is a start at libiberty simple object support for
AIX XCOFF file format.  With this patch, the simple object API can
read and write XCOFF files. I need to investigate a little more about
the proper attributes for XCOFF sections written using sobj.

There are open questions about how to wedge GCC LTO support into the
AIX XCOFF file format. I am unsure if LTO can be an additional section
in the XCOFF file or should be new CSECTs in an existing section.
Maybe CSECTs in the XCOFF comment section.

* simple-object-xcoff.c: New file.
* Makefile.in: Add it to build machinery.
* simple-object-common.h (simple_object_xcoff_functions): Declare.
* simple-object. (format_functions): Add simple_object_xcoff_functions.

Bootstrapped on powerpc-ibm-aix7.1.0.0

Thanks, David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple-object-xcoff.diff
Type: application/octet-stream
Size: 29463 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130101/9490cf6e/attachment.obj>

More information about the Gcc-patches mailing list