]> sourceware.org Git - glibc.git/commitdiff
MIPS: Avoid a dangling `vfork@GLIBC_2.0' reference
authorMaciej W. Rozycki <macro@codesourcery.com>
Wed, 22 Oct 2014 14:20:37 +0000 (15:20 +0100)
committerMaciej W. Rozycki <macro@codesourcery.com>
Wed, 22 Oct 2014 14:20:37 +0000 (15:20 +0100)
This satisfies a symbol reference created with:

.symver __libc_vfork, vfork@GLIBC_2.0

where `__libc_vfork' has not been defined or referenced.  In this case
the `vfork@GLIBC_2.0' reference is supposed to be discarded, however a
bug present in GAS since forever causes an undefined symbol table entry
to be created.  This in turn triggers a problem in the linker that can
manifest itself by link errors such as:

ld: libpthread.so: invalid string offset 2765592330 >= 5154 for section `.dynstr'

The GAS and linker bugs need to be resolved, but we can avoid them too
by providing a `__libc_vfork' definition just like our other platforms.

[BZ #17485]
* sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.

ChangeLog
NEWS
sysdeps/unix/sysv/linux/mips/vfork.S

index 4ba13b3fdbdc95b2b3164e35612e093d72763c9b..589da6b2f4990495f8c4a3f9527336764b79adbb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       [BZ #17485]
+       * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
+
 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #14132]
diff --git a/NEWS b/NEWS
index f3e222d345f6cfe4414fc15515d9a8a89e2f831a..5850c4aa6e2a6effe779eb6f3d05d7ba8aa58e54 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,8 @@ Version 2.21
 
 * The following bugs are resolved with this release:
 
-  6652, 12926, 14171, 15884, 17266, 17363, 17370, 17371, 17411, 17460.
+  6652, 12926, 14171, 15884, 17266, 17363, 17370, 17371, 17411, 17460,
+  17485.
 \f
 Version 2.20
 
index 80c362d6ebfa5562b852ad787e384d4128029c63..2c1a747db3e835064943c3ad2a70ff0b3026ed16 100644 (file)
@@ -108,3 +108,4 @@ L(error):
 
 libc_hidden_def(__vfork)
 weak_alias (__vfork, vfork)
+strong_alias (__vfork, __libc_vfork)
This page took 0.116437 seconds and 5 git commands to generate.