aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2002-05-27 08:22:08 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2002-05-27 08:22:08 +0000
commitee3cc2e2eef036f2175d91ccba93d523d5418e23 (patch)
treef8a77fba9ad489b8df3ced29474b1f87eee2acda /ld/emultempl
parent522ba268904ddac4b9c5c2dee2e3cba5c3343901 (diff)
downloadgdb-ee3cc2e2eef036f2175d91ccba93d523d5418e23.zip
gdb-ee3cc2e2eef036f2175d91ccba93d523d5418e23.tar.gz
gdb-ee3cc2e2eef036f2175d91ccba93d523d5418e23.tar.bz2
* ldlang.c (lang_size_sections_1): Move check for conflicting load
addresses and regions from here... (lang_get_regions): ...to this new function. (lang_leave_output_section_statement): Use lang_get_regions. (lang_leave_overlay): Likewise. * mri.c (mri_draw_tree): Pass null as last argument to lang_leave_output_section_statement. * emultempl/elf32.em (gld*_place_orphan): Likewise. * emultempl/mmo.em (mmo_place_orphan): Likewise. * emultempl/pe.em (gld*_place_orphan): Likewise.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/elf32.em2
-rw-r--r--ld/emultempl/mmo.em2
-rw-r--r--ld/emultempl/pe.em2
3 files changed, 3 insertions, 3 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index a85d97d..b1e7dd3 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -1222,7 +1222,7 @@ gld${EMULATION_NAME}_place_orphan (file, s)
lang_leave_output_section_statement
((bfd_vma) 0, "*default*",
- (struct lang_output_section_phdr_list *) NULL, "*default*");
+ (struct lang_output_section_phdr_list *) NULL, NULL);
if (config.build_constructors && *ps == '\0')
{
diff --git a/ld/emultempl/mmo.em b/ld/emultempl/mmo.em
index 32be230..d8675bf 100644
--- a/ld/emultempl/mmo.em
+++ b/ld/emultempl/mmo.em
@@ -147,7 +147,7 @@ mmo_place_orphan (file, s)
lang_leave_output_section_statement
((bfd_vma) 0, "*default*",
- (struct lang_output_section_phdr_list *) NULL, "*default*");
+ (struct lang_output_section_phdr_list *) NULL, NULL);
/* Restore the global list pointer. */
stat_ptr = old;
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index ba5d83a..4701f6d 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -1648,7 +1648,7 @@ gld_${EMULATION_NAME}_place_orphan (file, s)
lang_leave_output_section_statement
((bfd_vma) 0, "*default*",
- (struct lang_output_section_phdr_list *) NULL, "*default*");
+ (struct lang_output_section_phdr_list *) NULL, NULL);
if (config.build_constructors && *ps == '\0')
{