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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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 Thu, Jul 05, 2001 at 06:21:53AM -0400, Roland McGrath wrote:
> > 	* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
> > 	frame-dwarf2 for elf if $(build-shared) and $(need-frame-dwarf2)
> > 	are both yes.
> > 	(shared-only-routines): Likewise.
> > 	* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
> > 	* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
> > 	* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
> > 	* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
> > 	* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
> > 	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
> > 	* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
> 
> Are these changes in fact linux-specific?  Shouldn't the support be
> included any time elf && build-shared && need-frame-dwarf2,
> perhaps controlled (for future platforms) by something like SHLIB_COMPAT?

It is specific to the few platforms which are exporting __frame_state_for,
which is not all glibc platforms:

$ find /usr/src/libc -name Versions | xargs grep -l __frame_state_for
/usr/src/libc/sysdeps/mach/hurd/i386/Versions
/usr/src/libc/sysdeps/unix/sysv/linux/alpha/Versions
/usr/src/libc/sysdeps/unix/sysv/linux/s390/s390-32/Versions
/usr/src/libc/sysdeps/unix/sysv/linux/arm/Versions
/usr/src/libc/sysdeps/unix/sysv/linux/i386/Versions
/usr/src/libc/sysdeps/unix/sysv/linux/m68k/Versions
/usr/src/libc/sysdeps/unix/sysv/linux/mips/Versions
/usr/src/libc/sysdeps/unix/sysv/linux/powerpc/Versions
/usr/src/libc/sysdeps/unix/sysv/linux/sparc/sparc32/Versions
/usr/src/libc/sysdeps/unix/sysv/linux/sparc/sparc64/Versions

ie. hurd/i386 should include it too, but no other platforms should.

	Jakub


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