diff options
author | peter <peter@FreeBSD.org> | 1996-10-01 02:20:27 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-10-01 02:20:27 +0000 |
commit | cdaee83df3aef2f81bbcd2fd3c0881bbc452e2ca (patch) | |
tree | fe37e04653cba3309f5e024bef725cbbc4fa6e17 /contrib | |
parent | 519e9b0911db8a2c11a96565cdaf9726957e36f8 (diff) | |
download | FreeBSD-src-cdaee83df3aef2f81bbcd2fd3c0881bbc452e2ca.zip FreeBSD-src-cdaee83df3aef2f81bbcd2fd3c0881bbc452e2ca.tar.gz |
Activate the .weak code generation for libgcc.a and g++ now that it works.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h | 8 | ||||
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h.fixed | 8 |
2 files changed, 2 insertions, 14 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h index 27af97e..fd83cb9 100644 --- a/contrib/gcc/config/i386/freebsd.h +++ b/contrib/gcc/config/i386/freebsd.h @@ -91,7 +91,7 @@ Boston, MA 02111-1307, USA. */ #define LINK_SPEC \ "%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*} \ - %{p:-Bstatic} %{pg:-Bstatic} %{Z}" + %{p:-Bstatic} %{pg:-Bstatic} %{Z} %{R*}" #define LINK_LIBGCC_SPECIAL_1 1 @@ -195,15 +195,9 @@ Boston, MA 02111-1307, USA. */ #define SET_ASM_OP ".set" /* This is how we tell the assembler that a symbol is weak. */ - -#if 0 /* not ready for this yet - work in progress. - * We should probably update gas in the FreeBSD source to something - * more recent, so that this is recognised. Our LD handles it already. - */ #define ASM_WEAKEN_LABEL(FILE,NAME) \ do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \ fputc ('\n', FILE); } while (0) -#endif /* The following macro defines the format used to output the second operand of the .type assembler directive. Different svr4 assemblers diff --git a/contrib/gcc/config/i386/freebsd.h.fixed b/contrib/gcc/config/i386/freebsd.h.fixed index 27af97e..fd83cb9 100644 --- a/contrib/gcc/config/i386/freebsd.h.fixed +++ b/contrib/gcc/config/i386/freebsd.h.fixed @@ -91,7 +91,7 @@ Boston, MA 02111-1307, USA. */ #define LINK_SPEC \ "%{!nostdlib:%{!r:%{!e*:-e start}}} -dc -dp %{static:-Bstatic} %{assert*} \ - %{p:-Bstatic} %{pg:-Bstatic} %{Z}" + %{p:-Bstatic} %{pg:-Bstatic} %{Z} %{R*}" #define LINK_LIBGCC_SPECIAL_1 1 @@ -195,15 +195,9 @@ Boston, MA 02111-1307, USA. */ #define SET_ASM_OP ".set" /* This is how we tell the assembler that a symbol is weak. */ - -#if 0 /* not ready for this yet - work in progress. - * We should probably update gas in the FreeBSD source to something - * more recent, so that this is recognised. Our LD handles it already. - */ #define ASM_WEAKEN_LABEL(FILE,NAME) \ do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \ fputc ('\n', FILE); } while (0) -#endif /* The following macro defines the format used to output the second operand of the .type assembler directive. Different svr4 assemblers |