[{"id":1762215,"web_url":"http://patchwork.ozlabs.org/comment/1762215/","msgid":"<20170903034736.GO28143@bubble.grove.modra.org>","list_archive_url":null,"date":"2017-09-03T03:47:36","subject":"Re: [PATCH] Fix TLS relocations against local symbols on powerpc32, \n\tsparc32 and sparc64","submitter":{"id":4298,"url":"http://patchwork.ozlabs.org/api/people/4298/","name":"Alan Modra","email":"amodra@gmail.com"},"content":"On Sat, Sep 02, 2017 at 07:08:01PM +0100, James Clarke wrote:\n> Normally, TLS relocations against local symbols are optimised by the linker to\n> be absolute. However, gold does not do this, and so it is possible to end up\n> with, for example, R_SPARC_TLS_DTPMOD64 referring to a local symbol.\n\nThat is actually correct behaviour.  The linker can't resolve DTPMOD\nrelocs in a shared library at link time, since it doesn't know the\ntls module id that will be assigned at run time.  So a dynamic DTPMOD\nreloc must be emitted against a local symbol or SHN_UNDEF (symbol\nindex zero).  There are other cases too where TLS relocs must be\ndynamic in a shared library.  For example, TPREL relocs must be\ndynamic because the linker doesn't know where the TLS segment of the\nlibrary will be laid out relative to the thread pointer.\n\nI guess what you're really saying is that gold doesn't make use of the\nfact that glibc ld.so handles symbol index zero in these cases, but\ninstead emits a local dynamic symbol to use by the dynamic reloc.\n\n> Since\n> sym_map is left as null in elf_machine_rela for the special local symbol case,\n> the relocation handling thinks it has nothing to do, and so the module gets\n> left as 0.\n\nYes, thanks for noticing!  The only time we should have sym_map NULL\nis for an undefined weak symbol.  The patch looks good to me.","headers":{"Return-Path":"<libc-alpha-return-84137-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84137-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"CBewr6Ns\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xlJrt6V88z9sPk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 13:49:50 +1000 (AEST)","(qmail 10024 invoked by alias); 3 Sep 2017 03:47:50 -0000","(qmail 9654 invoked by uid 89); 3 Sep 2017 03:47:49 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-type:in-reply-to; q=dns; s=default; b=edW6\n\tnUZ+1PEIzOSF1wrmkEYMaiAqmq8Pd0bHtuZodS68kxdt9cFih2+ZVThilCykGyrw\n\t2esvIUiOUGBkzuMoSGQEikzU8u1+yOueFH3UU0i9YBh2OxIXCbnBZKgN8VWTLQxI\n\t0/00EUejXfLuXq6I0RHhS0Yd0NmnkQ0orQ2adFk=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-type:in-reply-to; s=default; bh=EJDoldKKc8\n\tZsBNRvLOSISRlhLwo=; b=CBewr6NsKDKk7bv4iXfnV+xl/AFh/FLhcfi/RI8p/P\n\t+55aioVP9oZCVc516x9IxKbxnYEs3jQQ50woLfF4wTQftDeTO+Vm02/NnDWdfncn\n\tYA0Gh8oru2EA8sJqLIe4W0bJ9rg+t/iD94BDVf2cxHsgkqJbsp4F1GhRhpSQqI63\n\t0=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-6.9 required=5.0 tests=AWL, BAYES_00,\n\tFREEMAIL_FROM, GIT_PATCH_1, RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=laid","X-HELO":"mail-pg0-f46.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=z/yIsMrNVUXQVW7TuD46dcItNAusdd6aswjt0q3mdH0=;\n\tb=g6Qb1HK+lh5JbxHzoQInRLdDg4M0hHkyejjORGyf8iNQNQXMDkUTHx3BNSf25ze38g\n\tk1WXD1mOn2moVlZz97zlqjmpD1t2DI2zjAnIqdx3+Hzim3fjO5iVH4qzHMvYxlWuU3aA\n\ttYLM8/q4bJXtkkSP4aKodiDMGbqH5pE7JwD3qyi7Mabhl9Jq6sHDPqkl+doXFAhoIhcp\n\t0qaf3fnWFtC76CHW4cJa0jRSo7U805pVq4xZz2N9/BKyoyyhh8wfJUCO+OXM+67eYg/s\n\tgNGD4pnDneNoHHnaQbIlv18EnJnge/IOts96Wso1uzbEV8V7U5IrKv5mFB393zWpEyRp\n\tg+1g==","X-Gm-Message-State":"AHPjjUjsl9voGpNbhbUN4R1CTF+fzDNZ/YKMfarrFr/4Tzzl9QPulSbW\n\tlGIXeHc1FL/JEUsj","X-Google-Smtp-Source":"ADKCNb7dLAnWyaU9CxyDPHWa0m5Le2mEo02jH7W4XJTdeoJcBf2q4IWOsqtuzbYErLeXuR5Z/8HxGQ==","X-Received":"by 10.99.141.74 with SMTP id z71mr838461pgd.234.1504410462162;\n\tSat, 02 Sep 2017 20:47:42 -0700 (PDT)","Date":"Sun, 3 Sep 2017 13:17:36 +0930","From":"Alan Modra <amodra@gmail.com>","To":"James Clarke <jrtc27@jrtc27.com>","Cc":"libc-alpha@sourceware.org","Subject":"Re: [PATCH] Fix TLS relocations against local symbols on powerpc32, \n\tsparc32 and sparc64","Message-ID":"<20170903034736.GO28143@bubble.grove.modra.org>","References":"<20170902180801.27348-1-jrtc27@jrtc27.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","In-Reply-To":"<20170902180801.27348-1-jrtc27@jrtc27.com>","User-Agent":"Mutt/1.5.24 (2015-08-30)"}},{"id":1769635,"web_url":"http://patchwork.ozlabs.org/comment/1769635/","msgid":"<EC4CA7EA-82AC-43D8-96DB-65A2C691E39F@jrtc27.com>","list_archive_url":null,"date":"2017-09-16T19:51:08","subject":"Re: [PATCH] Fix TLS relocations against local symbols on powerpc32, \n\tsparc32 and sparc64","submitter":{"id":64682,"url":"http://patchwork.ozlabs.org/api/people/64682/","name":"Jessica Clarke","email":"jrtc27@jrtc27.com"},"content":"Ping?\n\nOn 3 Sep 2017, at 04:47, Alan Modra <amodra@gmail.com> wrote:\n> On Sat, Sep 02, 2017 at 07:08:01PM +0100, James Clarke wrote:\n>> Normally, TLS relocations against local symbols are optimised by the linker to\n>> be absolute. However, gold does not do this, and so it is possible to end up\n>> with, for example, R_SPARC_TLS_DTPMOD64 referring to a local symbol.\n> \n> That is actually correct behaviour.  The linker can't resolve DTPMOD\n> relocs in a shared library at link time, since it doesn't know the\n> tls module id that will be assigned at run time.  So a dynamic DTPMOD\n> reloc must be emitted against a local symbol or SHN_UNDEF (symbol\n> index zero).  There are other cases too where TLS relocs must be\n> dynamic in a shared library.  For example, TPREL relocs must be\n> dynamic because the linker doesn't know where the TLS segment of the\n> library will be laid out relative to the thread pointer.\n> \n> I guess what you're really saying is that gold doesn't make use of the\n> fact that glibc ld.so handles symbol index zero in these cases, but\n> instead emits a local dynamic symbol to use by the dynamic reloc.\n\nYes, perhaps I should have been clearer in my original message. I never meant\nto imply that gold was emitting incorrect relocations (for once it wasn't its\nfault!).\n\n>> Since\n>> sym_map is left as null in elf_machine_rela for the special local symbol case,\n>> the relocation handling thinks it has nothing to do, and so the module gets\n>> left as 0.\n> \n> Yes, thanks for noticing!  The only time we should have sym_map NULL\n> is for an undefined weak symbol.  The patch looks good to me.\n\nRegards,\nJames","headers":{"Return-Path":"<libc-alpha-return-84665-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84665-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"HwAb8csG\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xvjZM1DL6z9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 17 Sep 2017 05:51:22 +1000 (AEST)","(qmail 97951 invoked by alias); 16 Sep 2017 19:51:15 -0000","(qmail 97942 invoked by uid 89); 16 Sep 2017 19:51:15 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:content-type:mime-version:subject:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; q=dns; s=default; b=XUJjDqtVY6PdbuiDCrEMj1FTuZ9Z\n\t34iJxpNr70tdUf4is6h+OXGnN5GXQ3iBmfbf5GVIVLBC6Iyq8GVvXeC5Xm36JMhC\n\tVTSDPJI3IJmWI468wIAF6JBz8W/dZJlG6vHcGMhKqxSdMcXzcmlozbTF5NqO9J4p\n\tDg5rCpJ/GlxDKtQ=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:content-type:mime-version:subject:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; s=default; bh=nMzrHGqmeWfropE1r+JNdkX3+x0=; b=Hw\n\tAb8csGQIXKx3SItx2NGRBTDbbEQJLoCHcT3CplqQmV+Y1ckkfqbwf+8xwz7ycKdA\n\tXg8a+5H8GIaNiH2KygnoSDVZPdMwTg6SScirbbNCd5OmEacD7FKjmveQjkEgxbsy\n\tNT++Pi3jfOAXr7SfZZauRWETohEy0FUBajCF3vSmw=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-6.4 required=5.0 tests=BAYES_00, GIT_PATCH_1,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=clarke, Clarke,\n\tH*m:43D8","X-HELO":"mail-wm0-f54.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc\n\t:content-transfer-encoding:message-id:references:to;\n\tbh=BzTy3r8YHHXsLSEhTJpEMsqiEzbqpGISzQ7Hx63uYu8=;\n\tb=s24cqKDpmZtqRDPJ3+cP08IR+ujFnxus1sXn3bs0woJX5/sHhdzqr3/G69LW0noZTb\n\t05aD02MPJ/dzlejUYfHXAszJt84rMA0svUxiNPDWFf6NgJr9VN0Y0CmhT/CdNIzEDduC\n\tdT0N4hOaB5gZ7qT77Rw8kUzIIpAUiOp+aeA/J/XBhwEeLlf1k0cgNzr4iS8vbd9mtkY0\n\t2GAfT6bYqjpm+m6dz6SCDSNMjLa1qtjYbGeyDiw1AlcCbe7TKI9KQAvkG+trEW50RXUR\n\th6t/fNL+s/7Sqk+d9ZoiW0CWVGI5aiG2EaDhrd3+Y6gQkwhLp5ws14NkVQ4JdT5GQxnK\n\tAaVA==","X-Gm-Message-State":"AHPjjUhiKedjwYuC8qW/syqwfowmF8p2HsZhvQ6vsT5DUAJJgPvhEd2+\n\tkEAgibhcHQ9dt1X3cHHU3Q==","X-Google-Smtp-Source":"AOwi7QCwwiZd4PbU+zemEd43VqF8GXxVwXDyHGxTuvH1eDB4+V+VBvVMApkK7bWPnUL6i2Z2vx/OLQ==","X-Received":"by 10.28.127.4 with SMTP id a4mr5869968wmd.12.1505591471358;\n\tSat, 16 Sep 2017 12:51:11 -0700 (PDT)","Content-Type":"text/plain; charset=us-ascii","Mime-Version":"1.0 (Mac OS X Mail 10.3 \\(3273\\))","Subject":"Re: [PATCH] Fix TLS relocations against local symbols on powerpc32, \n\tsparc32 and sparc64","From":"James Clarke <jrtc27@jrtc27.com>","In-Reply-To":"<20170903034736.GO28143@bubble.grove.modra.org>","Date":"Sat, 16 Sep 2017 20:51:08 +0100","Cc":"Alan Modra <amodra@gmail.com>","Content-Transfer-Encoding":"quoted-printable","Message-Id":"<EC4CA7EA-82AC-43D8-96DB-65A2C691E39F@jrtc27.com>","References":"<20170902180801.27348-1-jrtc27@jrtc27.com>\n\t<20170903034736.GO28143@bubble.grove.modra.org>","To":"libc-alpha@sourceware.org"}},{"id":1770181,"web_url":"http://patchwork.ozlabs.org/comment/1770181/","msgid":"<87k20whzy6.fsf@linux.vnet.ibm.com>","list_archive_url":null,"date":"2017-09-18T13:57:21","subject":"Re: [PATCH] Fix TLS relocations against local symbols on powerpc32,\n\tsparc32 and sparc64","submitter":{"id":16305,"url":"http://patchwork.ozlabs.org/api/people/16305/","name":"Tulio Magno Quites Machado Filho","email":"tuliom@linux.vnet.ibm.com"},"content":"James Clarke <jrtc27@jrtc27.com> writes:\n\n> Ping?\n>\n> On 3 Sep 2017, at 04:47, Alan Modra <amodra@gmail.com> wrote:\n>>\n>> Yes, thanks for noticing!  The only time we should have sym_map NULL\n>> is for an undefined weak symbol.  The patch looks good to me.\n\nAs far as I understand, Alan already reviewed and approved this patch.\n\nHowever, it would be ideal if David Miller (SPARC maintainer, in Cc.) would\nreview it too.\n\nI can push it after David's approval.\n\nThanks!","headers":{"Return-Path":"<libc-alpha-return-84678-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84678-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"dCycFxVZ\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xwndP1zN1z9s7M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 23:57:45 +1000 (AEST)","(qmail 65057 invoked by alias); 18 Sep 2017 13:57:31 -0000","(qmail 64776 invoked by uid 89); 18 Sep 2017 13:57:31 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:cc:subject:in-reply-to:references\n\t:date:mime-version:content-type:message-id; q=dns; s=default; b=\n\tK9nSy54SzA5s3Oqhes+wIvbpR8q4V79emmWPXoI5QBh7GaLCsYchAbUpTb8oghTm\n\t7EQ+3VLbl/oxTE6lro473dnqxTkqDh5s4tP24LNHxz0Jm23KYsqmqQAyqB2yqYQ3\n\tlW3oY8YZzvsp+WOm8A4ozB9tJMj0oirO2Qshkm3+LC8=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:cc:subject:in-reply-to:references\n\t:date:mime-version:content-type:message-id; s=default; bh=MxoL53\n\tQwXOhCB6BjQKC73iyiqOc=; b=dCycFxVZdhWdILWHxAtCu9kmp1HDgZixwF5+1n\n\tccPs5Dw5nvwJl0bIpqZ1OxrszuTtoO8kzefRv+Ls/LgLAAkDTLDpwxNJhBLflKfc\n\t7EuBdMWzKXr2kIEeuir1tDqUqsXkPdGPmXB+kwaaPRrVbAh2/WdglsPU4j6COpPJ\n\t5Ggds=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Spam-SWARE-Status":"No, score=-3.0 required=5.0 tests=AWL, BAYES_00,\n\tKAM_LAZY_DOMAIN_SECURITY,\n\tRCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=miller,\n\tMiller, HTo:U*davem","X-HELO":"mx0a-001b2d01.pphosted.com","From":"\"Tulio Magno Quites Machado Filho\" <tuliom@linux.vnet.ibm.com>","To":"James Clarke <jrtc27@jrtc27.com>, libc-alpha@sourceware.org,\n\tdavem@davemloft.net","Cc":["Alan Modra <amodra@gmail.com>",""],"Subject":"Re: [PATCH] Fix TLS relocations against local symbols on powerpc32,\n\tsparc32 and sparc64","In-Reply-To":"<EC4CA7EA-82AC-43D8-96DB-65A2C691E39F@jrtc27.com>","References":"<20170902180801.27348-1-jrtc27@jrtc27.com>\n\t<20170903034736.GO28143@bubble.grove.modra.org>\n\t<EC4CA7EA-82AC-43D8-96DB-65A2C691E39F@jrtc27.com>","User-Agent":"Notmuch/0.25 (http://notmuchmail.org) Emacs/25.2.1\n\t(x86_64-redhat-linux-gnu)","Date":"Mon, 18 Sep 2017 10:57:21 -0300","MIME-Version":"1.0","Content-Type":"text/plain","X-TM-AS-GCONF":"00","x-cbid":"17091813-0040-0000-0000-000003A3EA4C","X-IBM-SpamModules-Scores":"","X-IBM-SpamModules-Versions":"BY=3.00007756; HX=3.00000241; KW=3.00000007;\n\tPH=3.00000004; SC=3.00000229; SDB=6.00918813; UDB=6.00461579;\n\tIPR=6.00699040; \n\tBA=6.00005594; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009;\n\tZB=6.00000000; \n\tZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00017195;\n\tXFM=3.00000015; UTC=2017-09-18 13:57:27","X-IBM-AV-DETECTION":"SAVI=unused REMOTE=unused XFE=unused","x-cbparentid":"17091813-0041-0000-0000-00000798ED75","Message-Id":"<87k20whzy6.fsf@linux.vnet.ibm.com>","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-18_04:, , signatures=0","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=0\n\tmalwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\n\tadjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709180201"}},{"id":1776277,"web_url":"http://patchwork.ozlabs.org/comment/1776277/","msgid":"<64221F97-5C6D-4B1F-BAC5-53B232FA61BB@jrtc27.com>","list_archive_url":null,"date":"2017-09-27T11:52:58","subject":"Re: [PATCH] Fix TLS relocations against local symbols on powerpc32, \n\tsparc32 and sparc64","submitter":{"id":64682,"url":"http://patchwork.ozlabs.org/api/people/64682/","name":"Jessica Clarke","email":"jrtc27@jrtc27.com"},"content":"On 18 Sep 2017, at 14:57, Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> wrote:\n> \n> James Clarke <jrtc27@jrtc27.com> writes:\n> \n>> Ping?\n>> \n>> On 3 Sep 2017, at 04:47, Alan Modra <amodra@gmail.com> wrote:\n>>> \n>>> Yes, thanks for noticing!  The only time we should have sym_map NULL\n>>> is for an undefined weak symbol.  The patch looks good to me.\n> \n> As far as I understand, Alan already reviewed and approved this patch.\n> \n> However, it would be ideal if David Miller (SPARC maintainer, in Cc.) would\n> review it too.\n> \n> I can push it after David's approval.\n\nDavid, ping?\n\nThanks,\nJames\n\n(https://sourceware.org/ml/libc-alpha/2017-09/msg00120.html for the actual\npatch in question to save you looking for it yourself.)","headers":{"Return-Path":"<libc-alpha-return-85021-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-85021-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"nVQJg/Nz\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y2GRb2XFcz9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 27 Sep 2017 21:53:15 +1000 (AEST)","(qmail 83076 invoked by alias); 27 Sep 2017 11:53:08 -0000","(qmail 82861 invoked by uid 89); 27 Sep 2017 11:53:08 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:content-type:mime-version:subject:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; q=dns; s=default; b=anlAX1aFbAAt+Gmv+Rioj6hmTZGw\n\tAuwAvEMxOZyfMJv7gFVLbMbzcEdtMSBQlYbSiT4c70om+oN8WTaY3GhyE3qpd+0J\n\tuURGtVB4y7acY/5MVXsZFcgp84XoPIvk7tXtS2oz99i+/pJSzt3ivTs7e4Rwnotz\n\tAn6MeSXt4dAbZHQ=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:content-type:mime-version:subject:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; s=default; bh=YYmFoAI1G8ASP8npa7ZlrQHXrAQ=; b=nV\n\tQJg/NzVWq/RxI06HqRxowe47UXPhwwqY9q01bUksOUdGuuGWvmm/+w0iCilUpQou\n\txgqnsBkibE1PlCfln5kKYEJM0MGhZ013lH56Zrt8SNDYcjceAWIvCHMMH8udBlJt\n\tRzt/1fVy4ktCwnZxGxWvIOSj4mpIm9YfDoGbtjZ/s=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-1.4 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=no version=3.3.2 spammy=H*m:5C6D,\n\tH*r:ip*192.168.0.13","X-HELO":"mail-wm0-f52.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc\n\t:content-transfer-encoding:message-id:references:to;\n\tbh=x1z3E/SuhbbuIL4ytSFtHl8jADUqV7BosnZqog+ABk4=;\n\tb=F1GUi+nJem252Uzh6hznC4TmbTCpyFvs+DeLo2eN0A5DFTII84L/whDvx+5JvxFT+W\n\tTfDL6BtKuZ57fjtAXa8Tw3XnZhcMVo4XmDj8N8BW+WwwCF07z5B6LvfPzk/YRxecPygA\n\tDT+NsUhJD3lKnFROO3nxDN2XlTIWxoiXjE2/OeHR9nkkJBWdXCP7KJfi3AlMqjqE9uMr\n\tiG2rg7ynaieIVHyjXYrErK1bkmkwWR0eBCtHlNFzfVdqyKa0JY0EXjF4LKeBV1xoBzul\n\tvzmCyn8ADMXFpYvHNlbiPoJ/iDafM3cf76B1csQWEsIJi0sPCsdf5BxwAuPpbm3f4d1R\n\tZs3g==","X-Gm-Message-State":"AHPjjUjm8dAnvDeVlZgH0Gj0jJ4wLtxsq7BgZcSv32gL3nBap5ve+iUy\n\tipDuCZHZbsB2XffqpVraONWUJw==","X-Google-Smtp-Source":"AOwi7QBVV8dBNnGg5Zduzy//lU2ZrtI5ln32/GqDSFJVz8vzZq7zdw1dkig8BlAW6RFvoQgtgbAg1g==","X-Received":"by 10.28.92.136 with SMTP id q130mr27812wmb.35.1506513180827;\n\tWed, 27 Sep 2017 04:53:00 -0700 (PDT)","Content-Type":"text/plain; charset=us-ascii","Mime-Version":"1.0 (Mac OS X Mail 10.3 \\(3273\\))","Subject":"Re: [PATCH] Fix TLS relocations against local symbols on powerpc32, \n\tsparc32 and sparc64","From":"James Clarke <jrtc27@jrtc27.com>","In-Reply-To":"<87k20whzy6.fsf@linux.vnet.ibm.com>","Date":"Wed, 27 Sep 2017 12:52:58 +0100","Cc":"Alan Modra <amodra@gmail.com>, libc-alpha@sourceware.org,\n\tTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>","Content-Transfer-Encoding":"quoted-printable","Message-Id":"<64221F97-5C6D-4B1F-BAC5-53B232FA61BB@jrtc27.com>","References":"<20170902180801.27348-1-jrtc27@jrtc27.com>\n\t<20170903034736.GO28143@bubble.grove.modra.org>\n\t<EC4CA7EA-82AC-43D8-96DB-65A2C691E39F@jrtc27.com>\n\t<87k20whzy6.fsf@linux.vnet.ibm.com>","To":"David Miller <davem@davemloft.net>"}},{"id":1786586,"web_url":"http://patchwork.ozlabs.org/comment/1786586/","msgid":"<87shemc0v8.fsf@linux.vnet.ibm.com>","list_archive_url":null,"date":"2017-10-13T19:18:51","subject":"Re: [PATCH] Fix TLS relocations against local symbols on powerpc32,\n\tsparc32 and sparc64","submitter":{"id":16305,"url":"http://patchwork.ozlabs.org/api/people/16305/","name":"Tulio Magno Quites Machado Filho","email":"tuliom@linux.vnet.ibm.com"},"content":"James Clarke <jrtc27@jrtc27.com> writes:\n\n> \t* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):\n> \tAssign sym_map to be map for local symbols, as TLS relocations\n> \tuse sym_map to determine whether the symbol is defined and to\n> \textract the TLS information.\n> \t* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):\n> \tLikewise.\n> \t* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):\n> \tLikewise.\n\nPushed as 864458880721.\n\nThanks!","headers":{"Return-Path":"<libc-alpha-return-85805-incoming=patchwork.ozlabs.org@sourceware.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list libc-alpha@sourceware.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-85805-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"cKuRTJfW\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yDHZp3Tg7z9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 14 Oct 2017 06:19:14 +1100 (AEDT)","(qmail 46387 invoked by alias); 13 Oct 2017 19:19:02 -0000","(qmail 46330 invoked by uid 89); 13 Oct 2017 19:19:02 -0000"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:subject:in-reply-to:references:date\n\t:mime-version:content-type:message-id; q=dns; s=default; b=N0b+w\n\tRkf2j4QWy4mrGFEOq6EUIPwApj0NMZrWxJGuOloi4NMflDXPseam7OEcTmAYKffW\n\t0NAHP7NvAGZr8vMpsFrUne3vxdybhtjSFIHrZG32p85ux5h6UvTN+jQM/KvakT9L\n\toqqu4269ZN/T4SPQhp+U4GmmT8r/zTAjT/+oqY=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:subject:in-reply-to:references:date\n\t:mime-version:content-type:message-id; s=default; bh=s409xrgnfpO\n\twkMJgNyvuDohn4VQ=; b=cKuRTJfWe1sB8oaB85823ZuDPwRLACFjZd0WLOO2Rjd\n\tKpTGAOQz5V1uYrZl+WdAKK/5Z7VQ6yJaYScGGmHQAoKZPrXGyt6GAQMJ+X59QruD\n\tgrc2UsyRRtMayp//6qWVly2SVcN9Tlrv0zSXHBo8SwISVZKnCwvs+aBVn4MksTAk\n\t=","Mailing-List":"contact libc-alpha-help@sourceware.org; run by ezmlm","Precedence":"bulk","List-Id":"<libc-alpha.sourceware.org>","List-Unsubscribe":"<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>","List-Subscribe":"<mailto:libc-alpha-subscribe@sourceware.org>","List-Archive":"<http://sourceware.org/ml/libc-alpha/>","List-Post":"<mailto:libc-alpha@sourceware.org>","List-Help":"<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>","Sender":"libc-alpha-owner@sourceware.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-1.6 required=5.0 tests=BAYES_00,\n\tKAM_LAZY_DOMAIN_SECURITY,\n\tRCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=clarke,\n\tClarke","X-HELO":"mx0a-001b2d01.pphosted.com","From":"\"Tulio Magno Quites Machado Filho\" <tuliom@linux.vnet.ibm.com>","To":"James Clarke <jrtc27@jrtc27.com>, libc-alpha@sourceware.org","Cc":"","Subject":"Re: [PATCH] Fix TLS relocations against local symbols on powerpc32,\n\tsparc32 and sparc64","In-Reply-To":"<20170902180801.27348-1-jrtc27@jrtc27.com>","References":"<20170902180801.27348-1-jrtc27@jrtc27.com>","User-Agent":"Notmuch/0.25 (http://notmuchmail.org) Emacs/25.3.1\n\t(x86_64-redhat-linux-gnu)","Date":"Fri, 13 Oct 2017 16:18:51 -0300","MIME-Version":"1.0","Content-Type":"text/plain","X-TM-AS-GCONF":"00","x-cbid":"17101319-0008-0000-0000-0000029095E7","X-IBM-SpamModules-Scores":"","X-IBM-SpamModules-Versions":"BY=3.00007892; HX=3.00000241; KW=3.00000007;\n\tPH=3.00000004; SC=3.00000236; SDB=6.00930676; UDB=6.00468520;\n\tIPR=6.00710942; \n\tBA=6.00005636; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009;\n\tZB=6.00000000; \n\tZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00017530;\n\tXFM=3.00000015; UTC=2017-10-13 19:18:56","X-IBM-AV-DETECTION":"SAVI=unused REMOTE=unused XFE=unused","x-cbparentid":"17101319-0009-0000-0000-000036FF924A","Message-Id":"<87shemc0v8.fsf@linux.vnet.ibm.com>","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-10-13_08:, , signatures=0","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=0\n\tmalwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\n\tadjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1710130267"}}]