diff options
author | Maciej W. Rozycki <macro@mips.com> | 2018-02-19 18:38:41 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@mips.com> | 2018-02-19 18:38:41 +0000 |
commit | 8772de117d8366988bc60c9f9c571e262ef75932 (patch) | |
tree | 2ecb85a275d6db8cc6936f7070fa40ba11238bc8 /ld/ChangeLog | |
parent | 4f7fd351a727ffc44d3dd4e00ddf5222cd2063c5 (diff) | |
download | gdb-8772de117d8366988bc60c9f9c571e262ef75932.zip gdb-8772de117d8366988bc60c9f9c571e262ef75932.tar.gz gdb-8772de117d8366988bc60c9f9c571e262ef75932.tar.bz2 |
LD: Support fixed-size sections some psABIs may require
Define a SEC_FIXED_SIZE section flag for target backends to use for
output sections whose size has been fixed in the psABI. The size of
such sections will not be changed anyhow by the generic linker and it is
up to the target backend to get their size right.
bfd/
* section.c (SEC_FIXED_SIZE): New macro.
* bfd-in2.h: Regenerate.
ld/
* ldlang.c (insert_pad): Do not change output section's size if
SEC_FIXED_SIZE is set in the flags.
(size_input_section): Likewise.
(lang_size_sections_1): Likewise.
(lang_reset_memory_regions): Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 84c6d3e..4f5cd5f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2018-02-19 Maciej W. Rozycki <macro@mips.com> + + * ldlang.c (insert_pad): Do not change output section's size if + SEC_FIXED_SIZE is set in the flags. + (size_input_section): Likewise. + (lang_size_sections_1): Likewise. + (lang_reset_memory_regions): Likewise. + 2018-02-19 Alan Modra <amodra@gmail.com> * ldmisc.c (vfinfo) Handle %pI, %pR, %pS and %pT in place of |