[PATCH 2/3] Define libgcc soname in make scripts and not in a header
Siddhesh Poyarekar
siddhesh@redhat.com
Fri Apr 6 14:48:00 GMT 2012
Hi,
Currently the libgcc soname is defined in a header file
sysdeps/generic/libgcc_s.h. This is not available to any non-code
components and hence needs to be moved to the make scripts to make it
more widely available. This patch does just that.
This really only requires a build test since I have only moved the
definition of a macro, so I have done that for x86. I had access to an
s390x box that passes the build successfully as far as my changes are
concerned and then fails on an unrelated error in a different place
(Unknown pseudo-op: `.machine'). So I'd like it if further confirmation
is done for s390 by someone who has access to a system that they
regularly use for builds.
Regards,
Siddhesh
ChangeLog:
2012-04-06 Siddhesh Poyarekar <siddhesh@redhat.com>
* Makeconfig (libgcc-so-name): Define libgcc soname.
* sysdeps/generic/Makefile: Use it.
* sysdeps/generic/libgcc_s.h: Remove.
* sysdeps/generic/framestate.c: Don't include libgcc_s.h.
* sysdeps/gnu/unwind-resume.c: Likewise.
* sysdeps/generic/Makefile: Add libgcc-so-name to CFLAGS for
framestate.c.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/gnu/Makefile: Likewise for rt-unwind-resume.c and
unwind-resume.c.
nptl/ChangeLog:
2012-04-06 Siddhesh Poyarekar <siddhesh@redhat.com>
* sysdeps/pthread/unwind-forcedunwind.c: Don't include
libgcc_s.h.
* sysdeps/pthread/Makefile: Add libgcc-so-name to CFLAGS for
unwind-forcedunwind.c.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-libgcc-soname.patch
Type: text/x-patch
Size: 4464 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120406/df301bc3/attachment.bin>
More information about the Libc-alpha
mailing list