DWARF-2 in solaris object files, unaligned long problem
Jakub Jelinek
jj@sunsite.ms.mff.cuni.cz
Wed Jan 14 04:17:00 GMT 1998
>
>
>
> Hi, I am using egcs-1.0.1 to generate SPARC/solaris object files that contain
> DWARF-2 debug sections. I moved the macro definitions that are marked "DWARF
> stuff" from the config/sparc/sp64-elf.h file to config/sparc/sol2.h. This
> works fine, as long as I do not assemble. When I run xgcc whith the -S option,
> the DWARF-2 debug info appears in the assembly file. Unaligned long words are
> generated with the .uaxword pseudo-instruction. The assembler (gas-2.7 or as)
> does not recognise this pseudo-instruction.
>
> Does anybody have a solution. Is there a version of gas that can handle
> .uaxword, or should I use another pseudo-instruction to mark unalined longs.
>
Why did you copy this from sp64-elf? sp64-elf is for 64bit targets, Solaris
is 32bit. unsigned long is thus 32bit and that is .uaword. .uaxword is 64bit
unaligned word, which is probably not what you want.
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.77 on a sparc64 machine (333.41 BogoMips).
___________________________________________________________________
More information about the Gcc
mailing list