From: Michael Ellerman <mpe@ellerman•id.au>
To: Nicholas Piggin <npiggin@gmail•com>, linuxppc-dev@lists•ozlabs.org
Cc: Nicholas Piggin <npiggin@gmail•com>
Subject: Re: [PATCH] powerpc: link error on orphan sections
Date: Fri, 14 Oct 2016 14:27:45 +1100 [thread overview]
Message-ID: <87twcfd2z2.fsf@concordia.ellerman.id.au> (raw)
In-Reply-To: <20161012070020.30170-1-npiggin@gmail.com>
Nicholas Piggin <npiggin@gmail•com> writes:
> diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S
> index 8295f51..9f4d85e 100644
> --- a/arch/powerpc/kernel/vmlinux.lds.S
> +++ b/arch/powerpc/kernel/vmlinux.lds.S
> @@ -317,6 +319,16 @@ SECTIONS
> _end = . ;
> PROVIDE32 (end = .);
>
> - /* Sections to be discarded. */
> + STABS_DEBUG
> +
> + DWARF_DEBUG
With DEBUG_INFO=y I'm seeing:
/opt/toolchains/6/powerpc/bin/ld: error: unplaced orphan section `.debug_addr' from `arch/powerpc/kernel/prom_init.o'.
/opt/toolchains/6/powerpc/bin/ld: error: unplaced orphan section `.debug_gnu_pubnames' from `arch/powerpc/kernel/prom_init.o'.
/opt/toolchains/6/powerpc/bin/ld: error: unplaced orphan section `.debug_gnu_pubtypes' from `arch/powerpc/kernel/prom_init.o'.
And many more for the same sections from other files.
cheers
next prev parent reply other threads:[~2016-10-14 3:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-12 7:00 [PATCH] powerpc: link error on orphan sections Nicholas Piggin
2016-10-14 0:46 ` Michael Ellerman
2016-10-14 10:54 ` David Laight
2016-10-19 11:56 ` Michael Ellerman
2016-10-19 12:36 ` David Laight
2016-10-14 2:35 ` Balbir Singh
2016-10-14 5:37 ` Nicholas Piggin
2016-10-14 3:27 ` Michael Ellerman [this message]
2016-10-14 5:24 ` Nicholas Piggin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twcfd2z2.fsf@concordia.ellerman.id.au \
--to=mpe@ellerman$(echo .)id.au \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=npiggin@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox