From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034640AbcIVU7Y (ORCPT ); Thu, 22 Sep 2016 16:59:24 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:33759 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034623AbcIVU7X (ORCPT ); Thu, 22 Sep 2016 16:59:23 -0400 Subject: modules still have .debug_* (was Re: [PATCH 0/3] ARC unwinder switch to .eh_frame) To: Daniel Mentz References: <1474321773-18166-1-git-send-email-vgupta@synopsys.com> CC: , , Alexey Brodkin Newsgroups: gmane.linux.kernel,gmane.linux.kernel.arc From: Vineet Gupta Message-ID: Date: Thu, 22 Sep 2016 13:59:12 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.9.131.247] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel, On 09/19/2016 06:21 PM, Daniel Mentz wrote: > I confirmed that the .eh_frame section is present and that the > .debug_frame section is absent. I also verified that the file size of > the .ko files are small enough for our embedded platform and that > unnecessary sections like .debug_info, .debug_line, .debug_str etc. > are also absent. BTW it seems with my latest set of patches, modules still have .debug_*. Can you double check if your tree still has the interim patch which added a linker script for modules to strip out .debug_* http://lists.infradead.org/pipermail/linux-snps-arc/2016-September/001483.html I'm not planning to carry it and would prefer addressing the the root cause by removing the -gdwarf-2 toggle. I've added that and pushed rebased series. Care to take it for a respin please. Thx, -Vineet