rpms/binutils/devel binutils-2.16.91.0.6-build-fixes.patch, NONE, 1.1 binutils.spec, 1.74, 1.75
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Feb 14 09:24:26 UTC 2006
Author: jakub
Update of /cvs/dist/rpms/binutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv27915
Modified Files:
binutils.spec
Added Files:
binutils-2.16.91.0.6-build-fixes.patch
Log Message:
2.16.91.0.6-1
binutils-2.16.91.0.6-build-fixes.patch:
binutils/config.in | 8 ++++++++
gas/config.in | 4 ++++
ld/testsuite/ld-elfcomm/common1b.c | 6 +++++-
ld/testsuite/ld-shared/main.c | 2 ++
4 files changed, 19 insertions(+), 1 deletion(-)
--- NEW FILE binutils-2.16.91.0.6-build-fixes.patch ---
2006-02-14 Jakub Jelinek <jakub at redhat.com>
gas/
* config.in: Rebuilt.
binutils/
* config.in: Rebuilt.
ld/testsuite/
* ld-shared/main.c (main): Prevent warnings about unused p.
* ld-elfcomm/common1b.c (dummy1): Add __attribute__((__used__)) for
GCC 3.3+.
--- gas/config.in.jj 2005-08-16 11:21:34.000000000 +0200
+++ gas/config.in 2006-02-14 09:57:13.000000000 +0100
@@ -48,6 +48,10 @@
/* Is the prototype for getopt in <unistd.h> in the expected format? */
#undef HAVE_DECL_GETOPT
+/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
+ don't. */
+#undef HAVE_DECL_VSNPRINTF
+
/* Define to 1 if you have the <errno.h> header file. */
#undef HAVE_ERRNO_H
--- binutils/config.in.jj 2005-09-13 09:15:40.000000000 +0200
+++ binutils/config.in 2006-02-14 09:57:02.000000000 +0100
@@ -50,6 +50,10 @@
*/
#undef HAVE_DECL_SBRK
+/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
+ don't. */
+#undef HAVE_DECL_SNPRINTF
+
/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
*/
#undef HAVE_DECL_STPCPY
@@ -58,6 +62,10 @@
*/
#undef HAVE_DECL_STRSTR
+/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
+ don't. */
+#undef HAVE_DECL_VSNPRINTF
+
/* Does the platform use an executable suffix? */
#undef HAVE_EXECUTABLE_SUFFIX
--- ld/testsuite/ld-shared/main.c.jj 2001-07-11 15:48:54.000000000 +0200
+++ ld/testsuite/ld-shared/main.c 2006-02-14 10:07:08.000000000 +0100
@@ -40,6 +40,8 @@ main ()
{
int (*p) ();
+ p = (void *) 0;
+ (void) p;
printf ("mainvar == %d\n", mainvar);
printf ("overriddenvar == %d\n", overriddenvar);
printf ("shlibvar1 == %d\n", shlibvar1);
--- ld/testsuite/ld-elfcomm/common1b.c.jj 2003-04-15 11:38:10.000000000 +0200
+++ ld/testsuite/ld-elfcomm/common1b.c 2006-02-14 10:11:19.000000000 +0100
@@ -1,3 +1,7 @@
-static char dummy1 = 'X';
+static char dummy1
+#if defined __GNUC__ && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
+ __attribute__((__used__))
+#endif
+ = 'X';
char foo1 [] = "Aligned at odd byte.";
char foo2 [4];
Index: binutils.spec
===================================================================
RCS file: /cvs/dist/rpms/binutils/devel/binutils.spec,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- binutils.spec 14 Feb 2006 08:11:01 -0000 1.74
+++ binutils.spec 14 Feb 2006 09:24:23 -0000 1.75
@@ -12,6 +12,7 @@
Patch4: binutils-2.16.91.0.6-ia64-lib64.patch
Patch5: binutils-2.16.91.0.6-elfvsb-test.patch
Patch6: binutils-2.16.91.0.6-standards.patch
+Patch7: binutils-2.16.91.0.6-build-fixes.patch
Buildroot: %{_tmppath}/binutils-root
BuildRequires: texinfo >= 4.0, dejagnu, gettext, flex, bison
@@ -47,6 +48,7 @@
%endif
%patch5 -p0 -b .elfvsb-test~
%patch6 -p0 -b .standards~
+%patch7 -p0 -b .build-fixes~
# libtool sucks
perl -pi -e 'm/LIBADD/ && s/(\.\.\/bfd\/libbfd.la)/-L\.\.\/bfd\/\.libs \1/' opcodes/Makefile.{am,in}
# LTP sucks
More information about the fedora-cvs-commits
mailing list