2000-04-18 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call lang_leave_output_section_statement () after calling lang_enter_output_section_statement (). * emultempl/armelf.em: Likewise.
This commit is contained in:
parent
c41dbdb813
commit
20d04697a8
|
@ -1,3 +1,10 @@
|
|||
2000-04-18 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
|
||||
lang_leave_output_section_statement () after calling
|
||||
lang_enter_output_section_statement ().
|
||||
* emultempl/armelf.em: Likewise.
|
||||
|
||||
2000-04-18 Alan Modra <alan@linuxcare.com.au>
|
||||
|
||||
* emultempl/elf32.em (struct orphan_save): Add section field.
|
||||
|
|
|
@ -933,13 +933,14 @@ gld${EMULATION_NAME}_place_orphan (file, s)
|
|||
os = lang_output_section_statement_lookup (outsecname);
|
||||
wild_doit (&os->children, s, os, file);
|
||||
|
||||
lang_leave_output_section_statement
|
||||
((bfd_vma) 0, "*default*",
|
||||
(struct lang_output_section_phdr_list *) NULL, "*default*");
|
||||
|
||||
if (place != NULL)
|
||||
{
|
||||
asection *snew, **pps;
|
||||
|
||||
lang_leave_output_section_statement
|
||||
((bfd_vma) 0, "*default*",
|
||||
(struct lang_output_section_phdr_list *) NULL, "*default*");
|
||||
stat_ptr = &add;
|
||||
|
||||
if (*ps == '\0' && config.build_constructors)
|
||||
|
|
|
@ -1015,13 +1015,14 @@ gld${EMULATION_NAME}_place_orphan (file, s)
|
|||
os = lang_output_section_statement_lookup (outsecname);
|
||||
wild_doit (&os->children, s, os, file);
|
||||
|
||||
lang_leave_output_section_statement
|
||||
((bfd_vma) 0, "*default*",
|
||||
(struct lang_output_section_phdr_list *) NULL, "*default*");
|
||||
|
||||
if (place != NULL)
|
||||
{
|
||||
asection *snew, **pps;
|
||||
|
||||
lang_leave_output_section_statement
|
||||
((bfd_vma) 0, "*default*",
|
||||
(struct lang_output_section_phdr_list *) NULL, "*default*");
|
||||
stat_ptr = &add;
|
||||
|
||||
if (*ps == '\0' && config.build_constructors)
|
||||
|
|
Loading…
Reference in New Issue