aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2000-02-16 18:53:32 +0000
committerTimothy Wall <twall@alum.mit.edu>2000-02-16 18:53:32 +0000
commit562d3460fb28a90014290ac99c543f1085676a26 (patch)
tree58dc7ce8264e61d1142039093a28c5ba36e24898 /ld/emultempl
parenta4f419971fc5444ee68a8e318a81464c8d8e51c3 (diff)
downloadgdb-562d3460fb28a90014290ac99c543f1085676a26.zip
gdb-562d3460fb28a90014290ac99c543f1085676a26.tar.gz
gdb-562d3460fb28a90014290ac99c543f1085676a26.tar.bz2
Add LMA memory region functionality.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/armelf.em3
-rw-r--r--ld/emultempl/elf32.em3
-rw-r--r--ld/emultempl/pe.em3
3 files changed, 6 insertions, 3 deletions
diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em
index 345b12c..f6d5ef4 100644
--- a/ld/emultempl/armelf.em
+++ b/ld/emultempl/armelf.em
@@ -942,7 +942,8 @@ gld${EMULATION_NAME}_place_orphan (file, s)
wild_doit (&os->children, s, os, file);
lang_leave_output_section_statement
- ((bfd_vma) 0, "*default*", (struct lang_output_section_phdr_list *) NULL);
+ ((bfd_vma) 0, "*default*", (struct lang_output_section_phdr_list *) NULL,
+ "*default*");
stat_ptr = &add;
if (*ps == '\0' && config.build_constructors)
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index f2ff4d8..78676e1 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -1024,7 +1024,8 @@ gld${EMULATION_NAME}_place_orphan (file, s)
wild_doit (&os->children, s, os, file);
lang_leave_output_section_statement
- ((bfd_vma) 0, "*default*", (struct lang_output_section_phdr_list *) NULL);
+ ((bfd_vma) 0, "*default*", (struct lang_output_section_phdr_list *) NULL,
+ "*default*");
stat_ptr = &add;
if (*ps == '\0' && config.build_constructors)
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 1ebc091..0112c46 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -1146,7 +1146,8 @@ gld_${EMULATION_NAME}_place_orphan (file, s)
lang_leave_output_section_statement
((bfd_vma) 0, "*default*",
- (struct lang_output_section_phdr_list *) NULL);
+ (struct lang_output_section_phdr_list *) NULL,
+ "*default*");
/* Now stick the new statement list right after PLACE. */
if (place != NULL)