RE: [PATCH] RISC-V: add static-pie support

2023-10-07 Thread Li, Pan2
Committed, thanks Jeff.

Pan

-Original Message-
From: Jeff Law  
Sent: Sunday, October 8, 2023 12:13 AM
To: Wang, Yanzhang ; gcc-patches@gcc.gnu.org
Cc: juzhe.zh...@rivai.ai; kito.ch...@sifive.com; Li, Pan2 
Subject: Re: [PATCH] RISC-V: add static-pie support



On 10/7/23 05:32, yanzhang.w...@intel.com wrote:
> From: Yanzhang Wang 
> 
> We only need to pass options to the linker when static-pie is passed.
> There's another patch to enable static-pie in glibc. And we need to
> enable in GCC first.
> 
> gcc/ChangeLog:
> 
>   * config/riscv/linux.h: Pass the static-pie specific options to
> the linker.
OK.
jeff


Re: [PATCH] RISC-V: add static-pie support

2023-10-07 Thread Jeff Law




On 10/7/23 05:32, yanzhang.w...@intel.com wrote:

From: Yanzhang Wang 

We only need to pass options to the linker when static-pie is passed.
There's another patch to enable static-pie in glibc. And we need to
enable in GCC first.

gcc/ChangeLog:

* config/riscv/linux.h: Pass the static-pie specific options to
  the linker.

OK.
jeff