diff options
author | Richard Stallman <rms@gnu.org> | 1992-05-06 03:58:20 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-05-06 03:58:20 +0000 |
commit | a196f01fdf15b503763b23822770e1c945517cef (patch) | |
tree | 92e713e39ba2ef1c3fd381f48d771f6b40b2d20f /gcc/config/svr3.h | |
parent | c377a5902350ca6ef843d256485263ef1880b614 (diff) | |
download | gcc-a196f01fdf15b503763b23822770e1c945517cef.zip gcc-a196f01fdf15b503763b23822770e1c945517cef.tar.gz gcc-a196f01fdf15b503763b23822770e1c945517cef.tar.bz2 |
*** empty log message ***
From-SVN: r914
Diffstat (limited to 'gcc/config/svr3.h')
-rw-r--r-- | gcc/config/svr3.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc/config/svr3.h b/gcc/config/svr3.h index 9e87153..9d70cbf 100644 --- a/gcc/config/svr3.h +++ b/gcc/config/svr3.h @@ -161,6 +161,30 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. #undef ASM_OUTPUT_LABELREF #define ASM_OUTPUT_LABELREF(FILE,NAME) fprintf (FILE, "_%s", NAME) +/* This is how to output an internal numbered label where + PREFIX is the class of label and NUM is the number within the class. + + For most svr3 systems, the convention is that any symbol which begins + with a period is not put into the linker symbol table by the assembler. +*/ + +#undef ASM_OUTPUT_INTERNAL_LABEL +#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \ + fprintf (FILE, ".%s%d:\n", PREFIX, NUM) + +/* This is how to store into the string LABEL + the symbol_ref name of an internal numbered label where + PREFIX is the class of label and NUM is the number within the class. + This is suitable for output with `assemble_name'. + + For most svr3 systems, the convention is that any symbol which begins + with a period is not put into the linker symbol table by the assembler. +*/ + +#undef ASM_GENERATE_INTERNAL_LABEL +#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \ + sprintf (LABEL, ".%s%d", PREFIX, NUM) + /* Support const sections and the ctors and dtors sections for g++. Note that there appears to be two different ways to support const sections at the moment. You can either #define the symbol |