diff options
author | Cary Coutant <ccoutant@gmail.com> | 2016-12-21 16:21:23 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2016-12-21 16:21:23 -0800 |
commit | eb3908448bfe295e49bc7bd8a88b90deaa1ba95f (patch) | |
tree | c705db9301c8b59e10ee5964c06e64e6b56485d8 /gold/ChangeLog | |
parent | 514b85276b5521256e1688005e94f1d69fc10c27 (diff) | |
download | gdb-eb3908448bfe295e49bc7bd8a88b90deaa1ba95f.zip gdb-eb3908448bfe295e49bc7bd8a88b90deaa1ba95f.tar.gz gdb-eb3908448bfe295e49bc7bd8a88b90deaa1ba95f.tar.bz2 |
Make linker-created symbols relocatable where appropriate.
Linker-created symbols like __ehdr_start, __etext, __edata, and end
should be relocatable, not absolute.
gold/
* output.cc (Output_segment::first_section): Return NULL if there are
no sections in the segment.
* output.h (Output_segment::first_section_load_address): Assert that
first section is not NULL.
* symtab.cc (Symbol_table::sized_write_globals): Attach linker-created
segment-relative symbols to first section of the segment.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index c953031..ba74545 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,12 @@ +2016-12-21 Cary Coutant <ccoutant@gmail.com> + + * output.cc (Output_segment::first_section): Return NULL if there are + no sections in the segment. + * output.h (Output_segment::first_section_load_address): Assert that + first section is not NULL. + * symtab.cc (Symbol_table::sized_write_globals): Attach linker-created + segment-relative symbols to first section of the segment. + 2016-12-21 Alan Modra <amodra@gmail.com> * arm.cc: Fix comment chars with high bit set. |