diff options
author | peter <peter@FreeBSD.org> | 1996-09-18 05:45:16 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-09-18 05:45:16 +0000 |
commit | acb2bcd1679fc89c82b1ebd30a92fe0538b7f4dc (patch) | |
tree | 63294164689f80893cbbe6bd77927b5abe4339e9 /contrib/gcc/config | |
parent | d4691e641ba47cb86eef80f5c879e13f9d961724 (diff) | |
download | FreeBSD-src-acb2bcd1679fc89c82b1ebd30a92fe0538b7f4dc.zip FreeBSD-src-acb2bcd1679fc89c82b1ebd30a92fe0538b7f4dc.tar.gz |
Import of 2.7.2.1 into vendor branch
Diffstat (limited to 'contrib/gcc/config')
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h | 6 | ||||
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h.fixed | 6 | ||||
-rw-r--r-- | contrib/gcc/config/svr4.h | 14 |
3 files changed, 11 insertions, 15 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h index 72fcdd1..c4e9991 100644 --- a/contrib/gcc/config/i386/freebsd.h +++ b/contrib/gcc/config/i386/freebsd.h @@ -120,12 +120,6 @@ Boston, MA 02111-1307, USA. */ #define TYPE_ASM_OP ".type" #define SIZE_ASM_OP ".size" -/* This is how we tell the assembler that a symbol is weak. */ - -#define ASM_WEAKEN_LABEL(FILE,NAME) \ - do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \ - fputc ('\n', FILE); } while (0) - /* The following macro defines the format used to output the second operand of the .type assembler directive. Different svr4 assemblers expect various different forms for this operand. The one given here diff --git a/contrib/gcc/config/i386/freebsd.h.fixed b/contrib/gcc/config/i386/freebsd.h.fixed index 72fcdd1..c4e9991 100644 --- a/contrib/gcc/config/i386/freebsd.h.fixed +++ b/contrib/gcc/config/i386/freebsd.h.fixed @@ -120,12 +120,6 @@ Boston, MA 02111-1307, USA. */ #define TYPE_ASM_OP ".type" #define SIZE_ASM_OP ".size" -/* This is how we tell the assembler that a symbol is weak. */ - -#define ASM_WEAKEN_LABEL(FILE,NAME) \ - do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \ - fputc ('\n', FILE); } while (0) - /* The following macro defines the format used to output the second operand of the .type assembler directive. Different svr4 assemblers expect various different forms for this operand. The one given here diff --git a/contrib/gcc/config/svr4.h b/contrib/gcc/config/svr4.h index bc80297..41c6ffa 100644 --- a/contrib/gcc/config/svr4.h +++ b/contrib/gcc/config/svr4.h @@ -273,15 +273,23 @@ do { \ #define DBX_BLOCKS_FUNCTION_RELATIVE 1 /* When using stabs, gcc2_compiled must be a stabs entry, not an - ordinary symbol, or gdb won't see it. The stabs entry must be - before the N_SO in order for gdb to find it. */ + ordinary symbol, or gdb won't see it. Furthermore, since gdb reads + the input piecemeal, starting with each N_SO, it's a lot easier if + the gcc2 flag symbol is *after* the N_SO rather than before it. So + we emit an N_OPT stab there. */ #define ASM_IDENTIFY_GCC(FILE) \ do \ { \ if (write_symbols != DBX_DEBUG) \ fputs ("gcc2_compiled.:\n", FILE); \ - else \ + } \ +while (0) + +#define ASM_IDENTIFY_GCC_AFTER_SOURCE(FILE) \ +do \ + { \ + if (write_symbols == DBX_DEBUG) \ fputs ("\t.stabs\t\"gcc2_compiled.\", 0x3c, 0, 0, 0\n", FILE); \ } \ while (0) |