diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-05-06 03:58:20 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-05-06 03:58:20 +0000 |
commit | f0651fe87c722243a31f81f5d4d4dae1e20feda9 (patch) | |
tree | 92e713e39ba2ef1c3fd381f48d771f6b40b2d20f /gcc/config/svr3.h | |
parent | 570ea49cca5e5cfa823673dc09dca81f05dc0020 (diff) | |
download | gcc-f0651fe87c722243a31f81f5d4d4dae1e20feda9.tar.gz |
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@914 138bc75d-0d04-0410-961f-82ee72b054a4
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 9e871537a2f..9d70cbf0ae6 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 |