public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* [PATCH roland/arm-irel-ldsodefs] ARM: add missing #include
@ 2012-08-08 20:19 Roland McGrath
  2012-08-08 20:34 ` Joseph S. Myers
  0 siblings, 1 reply; 5+ messages in thread
From: Roland McGrath @ 2012-08-08 20:19 UTC (permalink / raw)
  To: libc-ports

I'm doing a cross-build for arm-linux-gnueabi with trunk GCC.
There's an early error from a missing definition of GLRO.
I don't know how the build could be working for anybody without
this fix, but maybe there is some indirect difference caused by
the compiler.

Ok to commit (i.e. merge roland/arm-irel-ldsodefs)?


Thanks,
Roland

ports/ChangeLog.arm
	* sysdeps/arm/dl-irel.h: Include <ldsodefs.h>.

diff --git a/ports/sysdeps/arm/dl-irel.h b/ports/sysdeps/arm/dl-irel.h
index 5b1964e..292bc1a 100644
--- a/ports/sysdeps/arm/dl-irel.h
+++ b/ports/sysdeps/arm/dl-irel.h
@@ -1,6 +1,6 @@
 /* Machine-dependent ELF indirect relocation inline functions.
    ARM version.
-   Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
+   Copyright (C) 2009-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,6 +22,7 @@
 
 #include <stdio.h>
 #include <unistd.h>
+#include <ldsodefs.h>
 
 #define ELF_MACHINE_IREL	1
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-08 21:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-08 20:19 [PATCH roland/arm-irel-ldsodefs] ARM: add missing #include Roland McGrath
2012-08-08 20:34 ` Joseph S. Myers
2012-08-08 20:57   ` Roland McGrath
2012-08-08 21:06     ` Joseph S. Myers
2012-08-08 21:11       ` Roland McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).