PATCH: miscellaneous nits in NetBSD configuration

Todd Vierling tv@pobox.com
Mon Aug 3 13:54:00 GMT 1998


On 3 Aug 1998, Jason Merrill wrote:

: > Not quite.  It will only get defined if it is not already *and* 
: > INCOMING_RETURN_ADDR_RTX is defined.  Code in final.c then checks whether 
: > DWARF2_UNWIND_INFO is defined or not, it does not check its value.  For an 
: > a.out machine using stabs (eg netbsd/arm32), defining this to 0 or 1 
: > causes dwarf information to be sucked into the build.
: 
: Yes, but it doesn't get used unless you say -fno-sjlj-exceptions.  I don't
: think it's a problem for the compiler to contain dwarf code that you don't
: use.

It's actually code that it "can't" use - not just "do[es]n't".  The
assembler used on NetBSD a.out platforms doesn't understands the stuff that
the dwarf2 code outputs.  The "#define 0" was originally meant to address
it, but it really should have been left out entirely.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)




More information about the Gcc mailing list