diff options
author | Roland McGrath <roland@gnu.org> | 2013-07-19 23:07:08 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2013-07-19 23:07:08 +0000 |
commit | a3ed37d8bcb97329ff3acebba63c754d153d3363 (patch) | |
tree | 5808e3e5905998fac75b21690ff89878e316c35c /gold/ChangeLog | |
parent | 69091a2cc4cfdd51d5b63c2925ab50ba6aa094cf (diff) | |
download | gdb-a3ed37d8bcb97329ff3acebba63c754d153d3363.zip gdb-a3ed37d8bcb97329ff3acebba63c754d153d3363.tar.gz gdb-a3ed37d8bcb97329ff3acebba63c754d153d3363.tar.bz2 |
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.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 7f859b7..676b670 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,17 @@ +2013-07-19 Roland McGrath <mcgrathr@google.com> + + * 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. + 2013-07-15 Shawn Landden <shawnlandden@gmail.com> PR gold/15070 |