This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ld: Remove separate_code from ld_config_type


On Wed, Feb 14, 2018 at 5:12 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> There are config.separate_code and link_info.separate_code. We should
> always use link_info.separate_code.  This patch removes separate_code
> from ld_config_type.
>
> OK for master?
>
> H.J.
> ---
>         PR ld/22845
>         * ld.h (ld_config_type): Remove separate_code.
>         * ldlang.c (ldlang_override_segment_assignment): Check
>         link_info.separate_code instead of config.separate_code.
>         * emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse):
>         Set link_info.separate_code instead of config.separate_code.
>         * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse):
>         Likewise.
>         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
>         Likewise.
>         * emultempl/mmixelf.em (gld${EMULATION_NAME}_before_parse):
>         Likewise.
>         * emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse):
>         Likewise.

Please ignore this.  They mean different things.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]