diff options
author | Jeff Law <law@redhat.com> | 1994-02-25 18:51:35 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-02-25 18:51:35 +0000 |
commit | a62494c41be4df5acbb36f1fac4ac6018771e60c (patch) | |
tree | 80c8a159525448ab96b4eb3ecf838834e12e1b36 /ld/emultempl | |
parent | 25354cef30be4a7ea7731b897a35c62b2c47cbbd (diff) | |
download | gdb-a62494c41be4df5acbb36f1fac4ac6018771e60c.zip gdb-a62494c41be4df5acbb36f1fac4ac6018771e60c.tar.gz gdb-a62494c41be4df5acbb36f1fac4ac6018771e60c.tar.bz2 |
* ldlang.c (lang_size_sections): No longer static (PA ELF calls
it via hppaelf_finish). Prototype moved into ldlang.h.
(lang_process): Move problematic extra call to lang_size_sections
into the PA ELF specific code.
* emultempl/hppaelf.em (hppaelf_finish): Extra call to
lang_size_sections moved here.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/hppaelf.em | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index 14a2fe8..128cdda 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -153,6 +153,11 @@ hppaelf_finish() /* they are no longer valid */ hppaelf_search_for_padding_statements(stat_ptr->head,&(stat_ptr->head)); } + /* Size up the sections again. */ + lang_size_sections (stat_ptr->head, + abs_output_section, + &(stat_ptr->head), 0, (bfd_vma) 0, false); + } static void |