Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/808186/?format=api
{ "id": 808186, "url": "http://patchwork.ozlabs.org/api/1.2/patches/808186/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20170831105203.GA18773@gmail.com/", "project": { "id": 41, "url": "http://patchwork.ozlabs.org/api/1.2/projects/41/?format=api", "name": "GNU C Library", "link_name": "glibc", "list_id": "libc-alpha.sourceware.org", "list_email": "libc-alpha@sourceware.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170831105203.GA18773@gmail.com>", "list_archive_url": null, "date": "2017-08-31T10:52:03", "name": "Place $(elf-objpfx)sofini.os the last [BZ #22051]", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "c28098ba8d0ec70249b48e8300fcfe2d34a0d5bb", "submitter": { "id": 4387, "url": "http://patchwork.ozlabs.org/api/1.2/people/4387/?format=api", "name": "H.J. Lu", "email": "hjl.tools@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20170831105203.GA18773@gmail.com/mbox/", "series": [ { "id": 793, "url": "http://patchwork.ozlabs.org/api/1.2/series/793/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=793", "date": "2017-08-31T10:52:03", "name": "Place $(elf-objpfx)sofini.os the last [BZ #22051]", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/793/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/808186/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/808186/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<libc-alpha-return-83906-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-83906-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=\"hu15TfS5\"; 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 3xjfMp5v6kz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 20:52:22 +1000 (AEST)", "(qmail 11288 invoked by alias); 31 Aug 2017 10:52:17 -0000", "(qmail 11275 invoked by uid 89); 31 Aug 2017 10:52:16 -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:subject:message-id:mime-version\n\t:content-type; q=dns; s=default; b=WZ7BTMjBTNU82E1OVti78JC1SlbnV\n\t94twnllU+XGCx0PgXoUP83HI8S/Tmk02QhVb1mVPc280H4ZKzXWbvmm2vB0D0DK6\n\t5Qey+idSk59DdKncx6LwVdX8inB2I5kvGug0shzJhJCke5HfVbvJgFZUG3g45lcX\n\tVuEx7vLD96irTk=", "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:subject:message-id:mime-version\n\t:content-type; s=default; bh=6QFQSyoJc7lrwhizS2l12s+W9dc=; b=hu1\n\t5TfS5CofDvZWTsY8j6qi/sh9vUc2im90wbhuonRit6fvoaFf2f15Y8qZooUpAOvw\n\tPQtZkrcC15cuSaCLW2B+isxmfgiLelljtaPcQW5kV2DyoU7XWAFfV4lwVHDP4zUt\n\twv+5Cl+kNk0cB5rE58DbkwYDtuqIzA1LTavNLtdU=", "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=-26.9 required=5.0 tests=AWL, BAYES_00,\n\tFREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2,\n\tGIT_PATCH_3, RCVD_IN_DNSWL_NONE,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=", "X-HELO": "mail-pg0-f49.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:subject:message-id:mime-version\n\t:content-disposition:user-agent;\n\tbh=/6L/1gGcF4EleTa9XQSsnqJQRoEUHJLDsXo37SUfi1E=;\n\tb=kTiU/bsmb+RTxdUL78DNcDW2rbM81LH8x4iLH3N9PSLO9xpOtzG9kDBP12P42DWpoB\n\tfBeQVVaVeeAt3qbSZiNKDBJoPB9QOqB96t8eu1oLdgWG0QFAKm4u/Zm3Irh2V/XskFuB\n\t6+IbrPz61aEVw1l7fT2/vq8fzme9Q6jVBkq3K5a1uoGBS7jAvkynmhgsrNihWo3rQ0nz\n\tyYdF8wzcAC54cZzpnmPwYQAxY46Q1THjLpSHRrH4a6/+sC1P3qdytGvgSB6KNgdhkob4\n\t8uLzXMktj2EtFsOA1uc+O0zwnk1FogcLSKRXspsva2bcVnNUTl87kyQZP33Q4UmMurLA\n\tjYMg==", "X-Gm-Message-State": "AHYfb5j+zf0miLo8rwCH4e7ddfyFm2mM7Jlx5TNjMZ2DZymyldOiKfi7\n\tZmTxMtOJSs526osj", "X-Google-Smtp-Source": "ADKCNb7a1DNMPD3G80wxUGMB2PPC2fnlCsh4HqIZuIFD2IRYwjl/v+1HiWOeCP/1zoGhGxYapVtSkw==", "X-Received": "by 10.84.236.3 with SMTP id q3mr2146683plk.259.1504176724362;\n\tThu, 31 Aug 2017 03:52:04 -0700 (PDT)", "Date": "Thu, 31 Aug 2017 03:52:03 -0700", "From": "\"H.J. Lu\" <hjl.tools@gmail.com>", "To": "GNU C Library <libc-alpha@sourceware.org>", "Subject": "[PATCH] Place $(elf-objpfx)sofini.os the last [BZ #22051]", "Message-ID": "<20170831105203.GA18773@gmail.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=us-ascii", "Content-Disposition": "inline", "User-Agent": "Mutt/1.8.3 (2017-05-23)" }, "content": "Since sofini.os terminates .eh_frame section, it should be placed the\nlast.\n\nTested on x86-64. OK for master?\n\nH.J.\n---\n\t[BZ #22051]\n\t* Makerules (build-module-helper-objlist): Filter out\n\t$(elf-objpfx)sofini.os.\n\t(build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is\n\tneeded.\n---\n Makerules | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)", "diff": "diff --git a/Makerules b/Makerules\nindex 8f1324d8e9..76f3c84ad4 100644\n--- a/Makerules\n+++ b/Makerules\n@@ -686,14 +686,17 @@ $(build-module-helper) -o $@ $(shlib-lds-flags) \\\n $(call after-link,$@)\n endef\n \n+# sofini.os must be the last since it terminates .eh_frame section.\n build-module-helper-objlist = \\\n \t$(patsubst %_pic.a,$(whole-archive) %_pic.a $(no-whole-archive),\\\n \t\t $(filter-out %.lds $(map-file) $(+preinit) $(+postinit) \\\n+\t\t\t\t$(elf-objpfx)sofini.os \\\n \t\t\t\t$(link-libc-deps),$^))\n \n build-module-objlist = $(build-module-helper-objlist) $(LDLIBS-$(@F:%.so=%).so)\n build-shlib-objlist = $(build-module-helper-objlist) \\\n-\t\t $(LDLIBS-$(@F:lib%.so=%).so)\n+\t\t $(LDLIBS-$(@F:lib%.so=%).so) \\\n+\t\t $(filter $(elf-objpfx)sofini.os,$^)\n \n # Don't try to use -lc when making libc.so itself.\n # Also omits crti.o and crtn.o, which we do not want\n", "prefixes": [] }