DWARF-2 in solaris object files, unaligned long problem

Werner Geurts geurts@retarget.com
Tue Jan 13 08:22: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.

Thanks, 
W.

-- 
____________   _______________________________________________________________

### ###### #   Werner Geurts                            Phone: +32/16/40 81 15
### #### ###   Target Compiler Technologies N.V.          Fax: +32/16/40 53 00
    ##         Haasrode Research Park              E-mail: geurts@retarget.com
_ _   ##   _   Interleuvenlaan 21 B
___ #### ___   B-3001 Leuven, Belgium         Your Embedded System, Our Target
___ ## _____   _______________________________________________________________



More information about the Gcc mailing list