Set .type @object for all global symbols in NCG
authorClemens Fruhwirth <clemens@endorphin.org>
Wed, 27 Jun 2007 16:51:50 +0000 (16:51 +0000)
committerClemens Fruhwirth <clemens@endorphin.org>
Wed, 27 Jun 2007 16:51:50 +0000 (16:51 +0000)
commitb3cb534bf6da5d2e3b0084defd838492684052a9
tree1dadce17173014952e6f3640fe4792c1b8057ba3
parentc111317d3209321e5f2ba43304018b132b174415
Set .type @object for all global symbols in NCG

When linking against a dynamic library, the linker will emit a warning
if no type information is present within the library. We generate the
most trivial type for all externally visible labels, namely @object.
compiler/nativeGen/PprMach.hs