Bug 13756 - [2.15 backport] Sort objects before relocations
Summary: [2.15 backport] Sort objects before relocations
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.15
: P2 normal
Target Milestone: ---
Assignee: Carlos O'Donell
URL:
Keywords: glibc_2.15
Depends on:
Blocks:
 
Reported: 2012-02-25 01:38 UTC by Allan McRae
Modified: 2014-06-26 14:36 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)