linux-mips
[Top] [All Lists]

[PATCH v2] MIPS: Discard .eh_frame sections in linker script.

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH v2] MIPS: Discard .eh_frame sections in linker script.
From: David Daney <ddaney.cavm@gmail.com>
Date: Thu, 8 Aug 2013 11:40:49 -0700
Cc: David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=zi/HD2jdlUfHMUaumJrj0DMtb/iCp3yo4gjG5bk0fWE=; b=kjg6xlgZGpllq9vZdCaAgoX0jeozmC/OB8Kc42XmljFu7KN1KhaXi6UwJyLkcclasQ msLYm0eyb+DG0mkIeYlKvZHhSThV1/8dXDSBXNFifNdPNUbfuMZdnxWKfQuoTpSfXJRP kSYoHQYrRt5AMq+/mCO+fef98mlrgj6spJ8gBaIkIs3U1jKib8AbcQA7Y8JAFiff3dbd 1kwZlsF/zACQUKrG8JNyo+W5rKj7m65tt1/nA8asc2BKPDog5CgCRbvjzseV0DfBD3dz qSG/nDeXLBlc2opSY6Dj4g9MtefnH+k34N1pNSv1FPm0p4FpzqHrISJpLK1C45nquBey eXUg==
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

Some toolchains (including Cavium OCTEON SDK) are emitting .eh_frame
sections by default.  Discard them as they are useless in the kernel.

Signed-off-by: David Daney <david.daney@cavium.com>
---

Changes from v1: Fix changelog spelling.

 arch/mips/kernel/vmlinux.lds.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
index 05826d2..3b46f7c 100644
--- a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -179,5 +179,6 @@ SECTIONS
                *(.options)
                *(.pdr)
                *(.reginfo)
+               *(.eh_frame)
        }
 }
-- 
1.7.11.7


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH v2] MIPS: Discard .eh_frame sections in linker script., David Daney <=