From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14814 invoked by alias); 28 Jun 2013 10:39:57 -0000 Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org Received: (qmail 14785 invoked by uid 89); 28 Jun 2013 10:39:53 -0000 X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 Received: from mail-pd0-f180.google.com (HELO mail-pd0-f180.google.com) (209.85.192.180) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 28 Jun 2013 10:39:52 +0000 Received: by mail-pd0-f180.google.com with SMTP id 10so945667pdi.39 for ; Fri, 28 Jun 2013 03:39:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=WXUHA+f5fYdHYs42i/noLjo+vhd8G5VU5Bxnw5WEwD8=; b=MtNoX07F1Kvd2MpuLAqyPqsM9hDe2buFdgaPfl33HK3eEJltSw2814D8E4jF1OWGKe Jij18zJp7JQYm0L8xX1a0q09KtROqHvGcgqMk+CHWnxmsW1AJ3lnvQpP3cGvSVMuzkcu gr4qiSkbX44cw6jGd895zN55te0sz4+1Nxcg7B/qPjA8dFrNKPor/9VD+RkC5X8Wjg5y d/Kd2nK/90ObLKe8OembdHldoORYUGlh6wTgzsjlLdlC0KtttF1kpyrK/mGkDZntyGke UaChtuxU/IipUZOKVzXClW+N//6qnnTIWMkxrsFWEDgsXlRF4iUGPqexBrGded4J931Z po4Q== MIME-Version: 1.0 X-Received: by 10.66.122.67 with SMTP id lq3mr10862409pab.147.1372415990598; Fri, 28 Jun 2013 03:39:50 -0700 (PDT) Received: by 10.68.218.134 with HTTP; Fri, 28 Jun 2013 03:39:50 -0700 (PDT) Date: Fri, 28 Jun 2013 10:39:00 -0000 Message-ID: Subject: [COMMITTED] AArch64 have elf_machine_dynamic() find _DYNAMIC via _GLOBAL_OFFSET_TABLE_ From: Marcus Shawcroft To: libc-ports Content-Type: multipart/mixed; boundary=047d7b2e4e709aa10104e0347f75 X-Gm-Message-State: ALoCoQm9UBJ8CUxgMIZHcO+s+Jmvzwr1Ipd8Ys2jQRoEUVhpV913rm7RHw0+Yzd1eWFbzUnvxjrz X-Virus-Found: No X-SW-Source: 2013-06/txt/msg00063.txt.bz2 --047d7b2e4e709aa10104e0347f75 Content-Type: text/plain; charset=UTF-8 Content-length: 511 Hi, This patch fixes the AArch64 implementation of elf_machine_dynamic() to find _DYNAMIC via _GLOBAL_OFFSET_TABLE_ as discussed here: http://sourceware.org/ml/libc-ports/2013-06/msg00057.html The corresponding change in ld required to correctly build ld.so was committed to binutils here: http://sourceware.org/ml/binutils/2013-06/msg00248.html /Marcus 2013-06-28 Marcus Shawcroft * sysdeps/aarch64/dl-machine.h (elf_machine_dynamic): De-reference _GLOBAL_OFFSET_TABLE_. --047d7b2e4e709aa10104e0347f75 Content-Type: application/octet-stream; name="fix-elf_machine_dynamic.diff" Content-Disposition: attachment; filename="fix-elf_machine_dynamic.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hih8zs930 Content-length: 789 ZGlmZiAtLWdpdCBhL3BvcnRzL3N5c2RlcHMvYWFyY2g2NC9kbC1tYWNoaW5l LmggYi9wb3J0cy9zeXNkZXBzL2FhcmNoNjQvZGwtbWFjaGluZS5oCmluZGV4 IGM5MWIwYzQuLjAxMTI1ZWUgMTAwNjQ0Ci0tLSBhL3BvcnRzL3N5c2RlcHMv YWFyY2g2NC9kbC1tYWNoaW5lLmgKKysrIGIvcG9ydHMvc3lzZGVwcy9hYXJj aDY0L2RsLW1hY2hpbmUuaApAQCAtMzYsOCArMzYsOCBAQCBlbGZfbWFjaGlu ZV9tYXRjaGVzX2hvc3QgKGNvbnN0IEVsZlcoRWhkcikgKmVoZHIpCiBzdGF0 aWMgaW5saW5lIEVsZlcoQWRkcikgX19hdHRyaWJ1dGVfXyAoKHVudXNlZCkp CiBlbGZfbWFjaGluZV9keW5hbWljICh2b2lkKQogewotICBFbGZXKEFkZHIp IGFkZHIgPSAoRWxmVyhBZGRyKSkgJl9EWU5BTUlDOwotICByZXR1cm4gYWRk cjsKKyAgZXh0ZXJuIGNvbnN0IEVsZlcoQWRkcikgX0dMT0JBTF9PRkZTRVRf VEFCTEVfW10gYXR0cmlidXRlX2hpZGRlbjsKKyAgcmV0dXJuIF9HTE9CQUxf T0ZGU0VUX1RBQkxFX1swXTsKIH0KIAogLyogUmV0dXJuIHRoZSBydW4tdGlt ZSBsb2FkIGFkZHJlc3Mgb2YgdGhlIHNoYXJlZCBvYmplY3QuICAqLwo= --047d7b2e4e709aa10104e0347f75--