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: Mark .gnu.lto_main/ .gnu.lto_ sections with SHF_EXCLUDE


On Fri, Dec 10, 2010 at 3:07 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Hi,
>
> This patch marks .gnu.lto_main/ .gnu.lto_ sections with SHF_EXCLUDE.
> OK to install?
>
> Thanks.
>
>
> H.J.
> --
> bfd/
>
> 2010-12-10 ?H.J. Lu ?<hongjiu.lu@intel.com>
>
> ? ? ? ?* elf.c (special_sections_g): Add .gnu.lto_main and .gnu.lto_.
>
> gas/testsuite/
>
> 2010-12-10 ?H.J. Lu ?<hongjiu.lu@intel.com>
>
> ? ? ? ?* gas/elf/elf.exp: Run section9.
>
> ? ? ? ?* gas/elf/section9.d: New.
> ? ? ? ?* gas/elf/section9.s: Likewise.
>

It turns out gcc uses `_' as separator. for LTO section names.
This updated patch allows  `_' as separator..  OK to install?

Thanks.


-- 
H.J.
-
bfd/

2010-12-10  H.J. Lu  <hongjiu.lu@intel.com>

	* elf.c (special_sections_g): Add ".gnu.lto".
	(_bfd_elf_get_special_section): Allow `_' as separator.

gas/testsuite/

2010-12-10  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/elf/elf.exp: Run section9.

	* gas/elf/section9.d: New.
	* gas/elf/section9.s: Likewise.

Attachment: binutils-gnu-lto-2.patch
Description: Text document


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