Bug 13756

Summary: [2.15 backport] Sort objects before relocations
Product: glibc Reporter: Allan McRae <allan>
Component: libcAssignee: Carlos O'Donell <carlos>
Status: RESOLVED FIXED    
Severity: normal CC: drepper.fsp
Priority: P2 Keywords: glibc_2.15
Version: 2.15Flags: fweimer: security-
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Allan McRae 2012-02-25 01:38:56 UTC
The following commit should be backported to glibc 2.15:

commit 6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Fri Jan 27 15:05:19 2012 -0500

    Sort objects before relocations
Comment 1 Joseph Myers 2012-06-27 22:37:59 UTC
Please provide a tested backport patch and describe how it was tested (as per the recent discussion of release branch processes on libc-alpha).
Comment 2 Allan McRae 2012-06-28 04:17:22 UTC
The commit (http://sourceware.org/git/?p=glibc.git;a=commit;h=6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4) applies to the glibc-2.15 branch without conflict (excluding ChangeLog and NEWS files...) and provides test-cases to verify it works.

This patch is widely tested by Linux distributions.
Comment 3 Carlos O'Donell 2014-01-30 06:13:20 UTC
commit 4a659bb814338f2fd33937a3b0aeff28af28c4e3
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Fri Jan 27 15:05:19 2012 -0500

    Sort objects before relocations
    
    (cherry picked from commit 6ee65ed6ddbf04402fad0bec6aa9c73b9d982ae4)