patches/gcc/4.3.2/140-netbsd-symbolic.patch
author |
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
|
Wed Oct 15 21:29:56 2008 +0000 (2008-10-15) |
changeset 940 |
f0f9ba3f98f2 |
parent 747 |
d3e603e7c17c
|
permissions |
-rw-r--r-- |
Cheesy kconfig stuff:
- silent/quiet/verbose build:
- ct-ng by default only prints quit messages, such as "CC xxx",
- if using V=0, nothing is printed,
- if using V=1, the full command lines are printed,
- other values are indeterminate,
- should help in debugging the kconfig stuff;
- complete kconfig/{,m}conf generation:
- fully dynamic dependencies on source files,
- compilation of .c into .o, then linking (instead of direct linking),
- VPATH usage when not --local;
Typo + a coment moved.
/trunk/kconfig/kconfig.mk | 140 87 53 0 +++++++++++++++++++++++++++++++++--------------------
/trunk/tools/tools.mk | 12 6 6 0 ++--
/trunk/steps.mk | 6 3 3 0 +-
/trunk/samples/samples.mk | 30 15 15 0 +++++-----
/trunk/ct-ng.in | 40 28 12 0 +++++++++++----
5 files changed, 139 insertions(+), 89 deletions(-)
yann@552
|
1 |
Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/gentoo/11_all_gcc-netbsd-symbolic.patch
|
yann@552
|
2 |
http://bugs.gentoo.org/122698
|
yann@552
|
3 |
|
yann@552
|
4 |
diff -durN gcc-4.3.1.orig/gcc/config/netbsd-elf.h gcc-4.3.1/gcc/config/netbsd-elf.h
|
yann@552
|
5 |
--- gcc-4.3.1.orig/gcc/config/netbsd-elf.h 2007-09-03 18:14:04.000000000 +0200
|
yann@552
|
6 |
+++ gcc-4.3.1/gcc/config/netbsd-elf.h 2008-06-10 14:57:48.000000000 +0200
|
yann@552
|
7 |
@@ -82,6 +82,7 @@
|
yann@552
|
8 |
#define NETBSD_LINK_SPEC_ELF \
|
yann@552
|
9 |
"%{assert*} %{R*} %{rpath*} \
|
yann@552
|
10 |
%{shared:-shared} \
|
yann@552
|
11 |
+ %{symbolic:-Bsymbolic} \
|
yann@552
|
12 |
%{!shared: \
|
yann@552
|
13 |
-dc -dp \
|
yann@552
|
14 |
%{!nostdlib: \
|