All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: prelink-cross project sync update
Date: Wed, 26 Oct 2011 12:41:28 -0500	[thread overview]
Message-ID: <4EA84648.8040206@windriver.com> (raw)

(I'm going to try to send out these quick blurbs as prelink-cross is synced to
the upstream.  Upstream changes are fairly infrequent, so this will be a low
volume set of emails.  Most emails in the future will be shorted then this one.)

prelink-cross has been synced up to the latest upstream prelink changes.

The latest changes include:

2011-10-12  Jakub Jelinek  <jakub@redhat.com>

        * src/main.c (layout_page_size): New variable.
        (OPT_LAYOUT_PAGE_SIZE): Define.
        (options): Add --layout-page-size option.
        (set_default_layout_page_size): New function in i?86/x86_64
        resp. empty macro on other architectures.
        (main): Call it.
        * src/arch-i386.c (i386_layout_libs_init): Fail if
        l->max_page_size is larger than 2MB and exec_shield is true.
        Compute reg0s as REG0S rounded up to l->max_page_size
        boundary and use it instead of REG0S.
        (i386_layout_libs_pre): Compute reg0s as REG0S rounded up to
        l->max_page_size boundary and use it instead of REG0S.
        Fix up a pasto in computation of virt parameter for
        third i386_find_free_addr call.
        * src/prelink.h (layout_page_size): New decl.
        * src/layout.c (layout_libs): Set max_page_size and
        l.max_page_size to maximum of plarch->max_page_size
        and layout_page_size.  Fail if mmap_base or mmap_end
        aren't max_page_size aligned.
        * src/arch-ppc.c (ppc_layout_libs_pre): Give up if
        l->max_page_size is larger than 64KB.

In essence what this does is adds a new option "--layout-page-size" that allows
someone to override the "max_page_size" value when necessary.  (It's not a true
override as the max_page_size is set to either the existing value or
layout-page-size whichever is larger.)

The upstream change also added dynamic run-time detection for the AMD Bulldozer
platform, setting the default to 32k.  Since run-time detection is contrary to
the existing prelink-cross usage, the code has been disabled.

As usual, the upstream version is in the "master" branch, and the cross version
is in the "cross_prelink" branch.

--Mark


                 reply	other threads:[~2011-10-26 17:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EA84648.8040206@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.