All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-mips@vger.kernel.org, "kernelci.org bot" <bot@kernelci.org>
Subject: Re: [PATCH for 6.3] MIPS: Define RUNTIME_DISCARD_EXIT in LD script
Date: Sat, 22 Apr 2023 00:01:08 +0200	[thread overview]
Message-ID: <20230421220108.GA17472@alpha.franken.de> (raw)
In-Reply-To: <20230408203348.28896-1-jiaxun.yang@flygoat.com>

On Sat, Apr 08, 2023 at 09:33:48PM +0100, Jiaxun Yang wrote:
> MIPS's exit sections are discarded at runtime as well.
> 
> Fixes link error:
> `.exit.text' referenced in section `__jump_table' of fs/fuse/inode.o:
> defined in discarded section `.exit.text' of fs/fuse/inode.o
> 
> Fixes: 99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv")
> Reported-by: "kernelci.org bot" <bot@kernelci.org>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
>  arch/mips/kernel/vmlinux.lds.S | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
> index 52cbde60edf5..9ff55cb80a64 100644
> --- a/arch/mips/kernel/vmlinux.lds.S
> +++ b/arch/mips/kernel/vmlinux.lds.S
> @@ -15,6 +15,8 @@
>  #define EMITS_PT_NOTE
>  #endif
>  
> +#define RUNTIME_DISCARD_EXIT
> +
>  #include <asm-generic/vmlinux.lds.h>
>  
>  #undef mips
> -- 
> 2.39.2 (Apple Git-143)

applied to mips-fixes.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

      parent reply	other threads:[~2023-04-21 23:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-08 20:33 [PATCH for 6.3] MIPS: Define RUNTIME_DISCARD_EXIT in LD script Jiaxun Yang
2023-04-21 21:10 ` Jiaxun Yang
2023-04-21 22:01 ` Thomas Bogendoerfer [this message]

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=20230421220108.GA17472@alpha.franken.de \
    --to=tsbogend@alpha.franken.de \
    --cc=bot@kernelci.org \
    --cc=jiaxun.yang@flygoat.com \
    --cc=linux-mips@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.