This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: Limited success with 3.0 branch on AIX


	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


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