Sort objects before relocations

(cherry picked from commit 6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4)
Fix locking in fmtmsg

(cherry picked from commit 7724defcf8873116fe4efab256596861eef21a94)
Fix invalid memory access in do_lookup_x.

[BZ #13579] Do not free l_initfini and allow it to be reused
on subsequent dl_open calls for the same library. This fixes
the invalid memory access in do_lookup_x when the previously
free'd l_initfini was accessed through l_searchlist when a
library had been opened for the second time.

(cherry picked from commit 0479b305c5b7c8e3fa8e3002982cf8cac02b842e)
Don't parse %s format argument as multibyte string

2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>

            [BZ #6530]
            * stdio-common/vfprintf.c (process_string_arg): Revert
            2000-07-22 change.

2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>

            * stdio-common/Makefile (tst-sprintf-ENV): Set environment
            for testcase.
            * stdio-common/tst-sprintf.c: Include <locale.h>
            (main): Test sprintf's handling of incomplete multibyte
            characters.

(cherry picked from commit 715a900c9085907fa749589bf738b192b1a2bda5)
[PATCH] Make sunrpc code usable again

New configure option --enable-obsolete-rpc makes the deprecated RPC
headers and functions available at compile time as they were before
version 2.14.  This option will be removed at some time in the future
after the TI-RPC library becomes fully sufficient for the needs of
existing applications.

(cheery pick from commit 82071029502b354886f86e315c230b808d99afc2)