GNU Info

Info Node: (as.info)Global

(as.info)Global


Next: Hidden Prev: Func Up: Pseudo Ops
Enter node , (file) or (file)node

`.global SYMBOL', `.globl SYMBOL'
=================================

   `.global' makes the symbol visible to `ld'.  If you define SYMBOL in
your partial program, its value is made available to other partial
programs that are linked with it.  Otherwise, SYMBOL takes its
attributes from a symbol of the same name from another file linked into
the same program.

   Both spellings (`.globl' and `.global') are accepted, for
compatibility with other assemblers.

   On the HPPA, `.global' is not always enough to make it accessible to
other partial programs.  You may need the HPPA-only `.EXPORT' directive
as well.  Note: HPPA Assembler Directives.


automatically generated by info2www version 1.2.2.9