All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: Discard .eh_frame sections in linker script.
@ 2013-08-08 18:36 David Daney
  2013-08-08 18:40   ` David Daney
  0 siblings, 1 reply; 3+ messages in thread
From: David Daney @ 2013-08-08 18:36 UTC (permalink / raw)
  To: linux-mips, ralf; +Cc: David Daney

From: David Daney <david.daney@cavium.com>

Some toolchains (including Cavimu 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>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] MIPS: Discard .eh_frame sections in linker script.
@ 2013-08-08 18:40   ` David Daney
  0 siblings, 0 replies; 3+ messages in thread
From: David Daney @ 2013-08-08 18:40 UTC (permalink / raw)
  To: David Daney; +Cc: linux-mips, ralf, David Daney

On 08/08/2013 11:36 AM, David Daney wrote:
> From: David Daney <david.daney@cavium.com>
>
> Some toolchains (including Cavimu OCTEON SDK) are emitting .eh_frame

... Obvious spelling error  ^^^^^^^

I will fix it and resend.

> sections by default.  Discard them as they are useless in the kernel.
>
> Signed-off-by: David Daney <david.daney@cavium.com>
> ---
>   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)
>   	}
>   }
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] MIPS: Discard .eh_frame sections in linker script.
@ 2013-08-08 18:40   ` David Daney
  0 siblings, 0 replies; 3+ messages in thread
From: David Daney @ 2013-08-08 18:40 UTC (permalink / raw)
  To: David Daney; +Cc: linux-mips, ralf, David Daney

On 08/08/2013 11:36 AM, David Daney wrote:
> From: David Daney <david.daney@cavium.com>
>
> Some toolchains (including Cavimu OCTEON SDK) are emitting .eh_frame

... Obvious spelling error  ^^^^^^^

I will fix it and resend.

> sections by default.  Discard them as they are useless in the kernel.
>
> Signed-off-by: David Daney <david.daney@cavium.com>
> ---
>   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)
>   	}
>   }
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-08 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-08 18:36 [PATCH] MIPS: Discard .eh_frame sections in linker script David Daney
2013-08-08 18:40 ` David Daney
2013-08-08 18:40   ` David Daney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.