This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/gold ChangeLog layout.cc options.h paramet ...
- From: roland at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: Fri, 19 Jul 2013 23:08:00 +0000
- Subject: src/gold ChangeLog layout.cc options.h paramet ...
CVSROOT: /cvs/src
Module name: src
Branch: binutils-2_23-branch
Changes by: roland@sourceware.org 2013-07-19 23:08:00
Modified files:
gold : ChangeLog layout.cc options.h parameters.cc
parameters.h
Log message:
gold/
* options.h (General_options): Add -Trodata-segment option.
* parameters.cc (Parameters::check_rodata_segment): New function.
(Parameters::set_target_once): Call it.
* parameters.h (Parameters): Declare it (private member function).
* layout.cc (load_seg_unusable_for_headers): New function, broken
out of Layout::relaxation_loop_body. If TARGET->isolate_execinstr()
then validate rodata segment rather than text segment.
(relaxation_loop_body): Call that.
(is_text_segment): New function. Don't admit a non-executable
segment if TARGET->isolate_execinstr().
(set_segment_offsets): Call it. Honor -Trodata-segment option.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.928.2.17&r2=1.928.2.18
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/layout.cc.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.231.2.1&r2=1.231.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/options.h.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.177.2.3&r2=1.177.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/parameters.cc.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.40&r2=1.40.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/parameters.h.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.33&r2=1.33.2.1