Simplify kernel config file need.
Don't build a default config file when not needed.
1 See http://sources.redhat.com/ml/libc-alpha/2004-02/msg00138.html
2 aka http://sources.redhat.com/cgi-bin/get-raw-msg?listname=libc-alpha&date=2004-02&msgid=20040220044155.GE22135%40baldric.uwo.ca
5 wget 'http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/generic/unwind-dw2.c.diff?r1=1.7&r2=1.8&cvsroot=glibc'
7 Revision 1.8, Sat Feb 21 09:07:29 2004 UTC (5 months, 3 weeks ago) by drepper
9 Allow sjlj enabled compilers to build the code by removing
10 __USING_SJLJ_EXCEPTIONS__ wrapper.
13 wget 'http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/generic/framestate.c.diff?r1=1.3&r2=1.4&cvsroot=glibc'
15 Revision 1.4, Sat Feb 21 09:07:05 2004 UTC (5 months, 3 weeks ago) by drepper
17 [__USING_SJLJ_EXCEPTIONS__] (__frame_state_for): Set frame_State_for
18 to abort if the compiler is using sjlj.
22 ../sysdeps/generic/framestate.c: In function `__frame_state_for':
23 ../sysdeps/generic/framestate.c:44: error: `fallback_frame_state_for' undeclared (first use in this function)
24 ../sysdeps/generic/framestate.c:44: error: (Each undeclared identifier is reported only once
25 ../sysdeps/generic/framestate.c:44: error: for each function it appears in.)
26 make[2]: *** [crosstool-0.28-rc34/build/arm-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-glibc/elf/framestate.os] Error 1
28 ===================================================================
29 RCS file: /cvs/glibc/libc/sysdeps/generic/unwind-dw2.c,v
30 retrieving revision 1.7
31 retrieving revision 1.8
33 --- libc/sysdeps/generic/unwind-dw2.c 2003/07/22 23:55:55 1.7
34 +++ libc/sysdeps/generic/unwind-dw2.c 2004/02/21 09:07:29 1.8
39 -#ifndef __USING_SJLJ_EXCEPTIONS__
41 #ifndef STACK_GROWS_DOWNWARD
42 #define STACK_GROWS_DOWNWARD 0
47 -#endif /* !USING_SJLJ_EXCEPTIONS */
48 ===================================================================
49 RCS file: /cvs/glibc/libc/sysdeps/generic/framestate.c,v
50 retrieving revision 1.3
51 retrieving revision 1.4
53 --- libc/sysdeps/generic/framestate.c 2003/01/08 06:46:06 1.3
54 +++ libc/sysdeps/generic/framestate.c 2004/02/21 09:07:05 1.4
58 = (framesf) __libc_dlsym (handle, "__frame_state_for")) == NULL)
59 +#ifndef __USING_SJLJ_EXCEPTIONS__
60 frame_state_for = fallback_frame_state_for;
62 + frame_state_for = abort;
66 return frame_state_for (pc, frame_state);