This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Versioning problem with __register_frame
Richard Henderson <rth@redhat.com> writes:
> On Wed, Feb 06, 2002 at 08:45:05AM +0100, Andreas Jaeger wrote:
>> Do I export the right exception handling functions? Or are all of
>> them obsolete?
>
> Since x86-64 is new, it can always use PT_GNU_EH_FRAME. So
> all of them are obsolete.
That makes live easy, we now do not need to export anything at all for
glibc.
I've just tested the appended patch on x86-64 via cross compiliation
and everything looked fine.
Ok to commit?
Andreas
2002-02-07 Andreas Jaeger <aj@suse.de>
* config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
* config/i386/t-linux64: New file.
============================================================
Index: gcc/config.gcc
--- gcc/config.gcc 2002/02/06 21:19:45 1.161
+++ gcc/config.gcc 2002/02/07 13:21:03
@@ -1224,7 +1224,7 @@ i[34567]86-*-linux*) # Intel 80386's run
x86_64-*-linux*)
tm_file="${tm_file} i386/att.h dbxelf.h elfos.h svr4.h linux.h \
i386/x86-64.h i386/linux64.h"
- tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
+ tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff i386/t-linux64"
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gnu_ld=yes
float_format=i386
============================================================
Index: gcc/config/i386/t-linux64
--- gcc/config/i386/t-linux64 created
+++ gcc/config/i386/t-linux64 Thu Feb 7 14:19:57 2002 1.1
@@ -0,0 +1,3 @@
+# On x86-64 we do not need any exports for glibc, override the settings
+# from t-slibgcc-elf-ver and t-linux
+SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj