This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Add __frame_state_for for gcc 3.0.1


On Wed, Jul 04, 2001 at 04:21:47PM -0700, H . J . Lu wrote:
> This patch adds __frame_state_for for gcc 3.0.1. I compiled glibc 2.2
> from CVS with gcc 3.0.1. It seems to work with my simple testcase. But
> "make check" failed with iconvdata/bug-iconv2 dumping core. I will look
> into it.
> 
> BTW, I only added the support for i386 and ia64. But I only tested on
> i386. I can add supports for other CPUs if noone does it before me. For
> each CPU, you need to add a sysdeps/CPU/gccframe.h with

1) you should not include RHL 7.[01] compatibility stuff in there,
   gcc-2.95.x does not have indirect nor base_offset fields in non Red Hat
   trees
2) you need to add all the new stuff Richard added, like L, R, P in
   augmentation (because at least glibc's qsort etc. will use relative
   addressing)
3) forget about ia64, glibc on ia64 never exported __frame_state_for, so
   there is no need for it (just grep Versions files to see which arches
   export it)

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]