{"id":808254,"url":"http://patchwork.ozlabs.org/api/1.2/patches/808254/?format=json","web_url":"http://patchwork.ozlabs.org/project/glibc/patch/20170831135308.GA26865@gmail.com/","project":{"id":41,"url":"http://patchwork.ozlabs.org/api/1.2/projects/41/?format=json","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":"<20170831135308.GA26865@gmail.com>","list_archive_url":null,"date":"2017-08-31T13:53:08","name":"Remove zero terminator for .eh_frame in libc.so [BZ #22053]","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"e2bf7300d89c251d81255de9a618445a115b19ea","submitter":{"id":4387,"url":"http://patchwork.ozlabs.org/api/1.2/people/4387/?format=json","name":"H.J. Lu","email":"hjl.tools@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/glibc/patch/20170831135308.GA26865@gmail.com/mbox/","series":[{"id":832,"url":"http://patchwork.ozlabs.org/api/1.2/series/832/?format=json","web_url":"http://patchwork.ozlabs.org/project/glibc/list/?series=832","date":"2017-08-31T13:53:08","name":"Remove zero terminator for .eh_frame in libc.so [BZ #22053]","version":1,"mbox":"http://patchwork.ozlabs.org/series/832/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/808254/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/808254/checks/","tags":{},"related":[],"headers":{"Return-Path":"<libc-alpha-return-83921-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-83921-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=\"ZVCKd5uc\"; 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 3xjkNn62vHz9sPm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 23:53:29 +1000 (AEST)","(qmail 102163 invoked by alias); 31 Aug 2017 13:53:23 -0000","(qmail 102154 invoked by uid 89); 31 Aug 2017 13:53:22 -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=b3yZLzXhOjuUtZuCvzEMCQ6jHwc7F\n\ttG7q+ws7EBQMM54xDuGBm6xCy0nhrwuiXylvd7IwKrRsCwLRgVkUX/p6Kqw/7a7f\n\tqzOlOqENabX0ydBz9NRf64eNoOuOcnfqLyQjjP6Xs7UxS81NrDbB1TThkKkr3/Xy\n\to1cpjqoVbfr9vk=","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=q3xrujEdAKzTGTGtxXva2SEZFSA=; b=ZVC\n\tKd5ucgJl+E2gwgzcSmvTHZnJ1ndzEaSqDswXBlKlyuAgC1Qu3C9oJzeL1fMOOTqw\n\t4mbYKiKgKvUbqNjJ4c1DYz1eeY+hGzIjKSSjGm6Z7aD7zKT0/S17BcNzJVF9tYpm\n\tKq4DfYoxJxlrKXL2gz18Sf5wUKD6bANMt10fHwTg=","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-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:subject:message-id:mime-version\n\t:content-disposition:user-agent;\n\tbh=DFTpO27jQdD0CnsT4J+vTElBIe8W2GS1/HnbsURiO/Q=;\n\tb=M7S7HMdRuS8Etnxw4GTjlNxPZxOq+ViON8Rf/67WM/MQiDxszDn/oE9HSyYu2piTa0\n\tuf5422HaPpw+XxVkrOSiEzhAZF/I3gy8Ty5ErSPROECz8p4rv/TVA5duCa6DXY7cKgXS\n\t3S2nsWBHMGbiiCWm6jTLRDAXo2E0AY6ULxPbsiox4tmhYu6tVPW94o7XBF+p6bJw0c4U\n\tQR3qIz3vzJBW76emQQbNfa2mTaL42xXGWDXw3nuNHWSGApawEPmZOfAkReVB7bRKhZXh\n\t61viTlfLwdeFniccfF72ehUCld7RR5cGKUQ8S+Q9p/KjOD22bm8anSw+aHtU1IDR79lT\n\t+feA==","X-Gm-Message-State":"AHYfb5jOwAekLkfldQcHEnwLvmVJQeG+knOzztxKumq/bQujx0ykcP8o\n\tvgrrnuQQUIwp6v4a","X-Google-Smtp-Source":"ADKCNb4is79DVX+t/ykAfjZhgJwmd6+9bNJxxMOoY/Sjw5dEIER+YZHsVZlg2oCGXPqZ/PHSL4Fi4g==","X-Received":"by 10.101.85.79 with SMTP id t15mr2484517pgr.249.1504187590501; \n\tThu, 31 Aug 2017 06:53:10 -0700 (PDT)","Date":"Thu, 31 Aug 2017 06:53:08 -0700","From":"\"H.J. Lu\" <hjl.tools@gmail.com>","To":"GNU C Library <libc-alpha@sourceware.org>","Subject":"[PATCH] Remove zero terminator for .eh_frame in libc.so [BZ #22053]","Message-ID":"<20170831135308.GA26865@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":"elf/sofini.c has a zero terminator for .eh_frame in libc.so.  It was\nadded before -eh-frame-hdr is added to ld.  Since -eh-frame-hdr is\nalways used to build libc.so, zero terminator in elf/sofini.c can be\nremoved.\n\nTested on x86-64.  OK for master?\n\nH.J.\n---\n\t[BZ #22053]\n\t* elf/sofini.c (__FRAME_END__): Removed.\n---\n elf/sofini.c | 8 --------\n 1 file changed, 8 deletions(-)","diff":"diff --git a/elf/sofini.c b/elf/sofini.c\nindex 13e74b7903..7ec313be4e 100644\n--- a/elf/sofini.c\n+++ b/elf/sofini.c\n@@ -9,11 +9,3 @@ static void (*const __DTOR_END__[1]) (void)\n      __attribute__ ((used, section (\".dtors\")))\n      = { 0 };\n #endif\n-\n-/* Terminate the frame unwind info section with a 4byte 0 as a sentinel;\n-   this would be the 'length' field in a real FDE.  */\n-\n-typedef unsigned int ui32 __attribute__ ((mode (SI)));\n-static const ui32 __FRAME_END__[1]\n-  __attribute__ ((used, section (\".eh_frame\")))\n-  = { 0 };\n","prefixes":[]}