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:07:08 +0000
- Subject: src/gold ChangeLog layout.cc options.h paramet ...
CVSROOT: /cvs/src
Module name: src
Changes by: roland@sourceware.org 2013-07-19 23:07:08
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&r1=1.1091&r2=1.1092
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/layout.cc.diff?cvsroot=src&r1=1.255&r2=1.256
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/options.h.diff?cvsroot=src&r1=1.188&r2=1.189
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/parameters.cc.diff?cvsroot=src&r1=1.40&r2=1.41
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/parameters.h.diff?cvsroot=src&r1=1.33&r2=1.34