From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] eglibc: Fix for dynamic linker broken offset
Date: Mon, 24 Sep 2012 07:34:39 -0700 [thread overview]
Message-ID: <50606F7F.1040507@linux.intel.com> (raw)
In-Reply-To: <1348485983-8294-1-git-send-email-andrei.adrianx.dinu@intel.com>
On 09/24/2012 04:26 AM, Andrei Dinu wrote:
> Solution provided by Donn Seeley in bug 1443:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=1443
>
> worked when testing with core-image-sato-sdk for qemuarm.
>
> [YOCTO #2577]
>
> Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
> ---
> .../eglibc-2.16/0001-R_ARM_TLS_DTPOFF32.patch | 27 ++++++++++++++++++++
> meta/recipes-core/eglibc/eglibc_2.16.bb | 3 ++-
> 2 files changed, 29 insertions(+), 1 deletion(-)
> create mode 100644 meta/recipes-core/eglibc/eglibc-2.16/0001-R_ARM_TLS_DTPOFF32.patch
>
> diff --git a/meta/recipes-core/eglibc/eglibc-2.16/0001-R_ARM_TLS_DTPOFF32.patch b/meta/recipes-core/eglibc/eglibc-2.16/0001-R_ARM_TLS_DTPOFF32.patch
> new file mode 100644
> index 0000000..520c699
> --- /dev/null
> +++ b/meta/recipes-core/eglibc/eglibc-2.16/0001-R_ARM_TLS_DTPOFF32.patch
> @@ -0,0 +1,27 @@
> +Upstream-Status: Pending
> +
> +From 73890569c5048aef34d9a6f08907895a53211d72 Mon Sep 17 00:00:00 2001
> +From: Andrei Dinu <andrei.adrianx.dinu@intel.com>
> +Date: Mon, 24 Sep 2012 10:21:49 +0300
> +Subject: [PATCH] updated version
> +
You don't need this email headers here, but a better description of why
would be good.
Sau!
> +Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
> +---
> + .../libc/ports/sysdeps/arm/dl-machine.h | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +ndex 8d905e8..dcfa71e 100644
> +--- libc.orig/ports/sysdeps/arm/dl-machine.h
> ++++ libc/ports/sysdeps/arm/dl-machine.h
> +@@ -503,7 +503,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
> +
> + case R_ARM_TLS_DTPOFF32:
> + if (sym != NULL)
> +- *reloc_addr += sym->st_value;
> ++ *reloc_addr = sym->st_value;
> + break;
> +
> + case R_ARM_TLS_TPOFF32:
> +--
> +1.7.9.5
> +
> diff --git a/meta/recipes-core/eglibc/eglibc_2.16.bb b/meta/recipes-core/eglibc/eglibc_2.16.bb
> index 78dc44a..b1f03c7 100644
> --- a/meta/recipes-core/eglibc/eglibc_2.16.bb
> +++ b/meta/recipes-core/eglibc/eglibc_2.16.bb
> @@ -3,7 +3,7 @@ require eglibc.inc
> SRCREV = "20393"
>
> DEPENDS += "gperf-native kconfig-frontends-native"
> -PR = "r9"
> +PR = "r10"
> PR_append = "+svnr${SRCPV}"
>
> EGLIBC_BRANCH="eglibc-2_16"
> @@ -29,6 +29,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};protocol=h
> file://0001-eglibc-menuconfig-support.patch \
> file://0002-eglibc-menuconfig-hex-string-options.patch \
> file://0003-eglibc-menuconfig-build-instructions.patch \
> + file://0001-R_ARM_TLS_DTPOFF32.patch \
> "
> LIC_FILES_CHKSUM = "file://LICENSES;md5=98a1128c4b58120182cbea3b1752d8b9 \
> file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
>
prev parent reply other threads:[~2012-09-24 14:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-24 11:26 [PATCH] eglibc: Fix for dynamic linker broken offset Andrei Dinu
2012-09-24 11:30 ` Phil Blundell
2012-09-24 12:40 ` Andrei Dinu
2012-09-28 9:52 ` Phil Blundell
2012-09-28 13:57 ` Mark Hatle
2012-09-28 14:00 ` Khem Raj
2012-09-28 14:02 ` Phil Blundell
2012-09-28 14:35 ` Mark Hatle
2012-09-28 14:50 ` Khem Raj
2012-09-28 14:57 ` Phil Blundell
2012-09-28 15:02 ` Mark Hatle
[not found] ` <50659938.4060401@intel.com>
2012-10-02 16:50 ` Phil Blundell
2012-09-24 14:34 ` Saul Wold [this message]
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=50606F7F.1040507@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.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.