This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Limited success with 3.0 branch on AIX
- To: Elena Zannoni <ezannoni at cygnus dot com>
- Subject: Re: Limited success with 3.0 branch on AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Wed, 16 May 2001 14:14:15 -0400
- cc: Kevin Buettner <kevinb at cygnus dot com>, "Zack Weinberg" <zackw at Stanford dot EDU>, Matthew Conway <matt_conway at i2 dot com>, Mark Mitchell <mark at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, gdb at sources dot redhat dot com
As a follow up, compiling file bss.c with IBM's XLC compiler
produces bss.o containing:
[0] m 0x00000000 -2 3 0x67 0x0003 .file
[1] a0 bss.c
[2] a0 Wed May 16 14:08:13 2001
[3] a0 IBM C and C++ Compilers Version 3.6.6.0 ---
Disassembling bss.o produces an assembly file containing the directive
.file "bss.c"
Assembling the disassembled file produces a new object file containing:
[0] m 0x00000000 -2 1 0x67 0x0003 .file
[1] a0 bss.c
IBM's AIX assembler (and the GNU assembler) do not allow access to
all of the user-settable internal structure of XCOFF files. This is a
known limitation. There is no way to insert the information into the most
appropriate XCOFF location for compiler version or compiler-defined
information.
David