This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[gold commit] PR 20522: Do not use linker script to place static relocation sections
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Tue, 13 Dec 2016 13:03:38 -0800
- Subject: [gold commit] PR 20522: Do not use linker script to place static relocation sections
- Authentication-results: sourceware.org; auth=none
I've committed this patch to prevent gold from trying to place static
relocation sections via the linker script.
-cary
2016-12-13 Cary Coutant <ccoutant@gmail.com>
gold/
PR gold/20522
* layout.cc (Layout::choose_output_section): Add is_reloc parameter.
Adjust all callers. Do not use linker script for is_reloc sections.
(Layout::layout_reloc): Pass is_reloc == true.
* layout.h (Layout::choose_output_section): Add is_reloc parameter.