aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/mmo.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-07-31 16:45:14 +0930
committerAlan Modra <amodra@gmail.com>2019-08-01 11:57:25 +0930
commit5c1e6d53a518442741f05175dbded0d1880f4759 (patch)
tree579752a5eaeb59fab201bb84adcc19ef9fb2c742 /ld/emultempl/mmo.em
parent52b5a0c663ba7cb4f1488a7e96addc303fc6e021 (diff)
downloadgdb-5c1e6d53a518442741f05175dbded0d1880f4759.zip
gdb-5c1e6d53a518442741f05175dbded0d1880f4759.tar.gz
gdb-5c1e6d53a518442741f05175dbded0d1880f4759.tar.bz2
Rename lang_output_section_statement to lang_os_list
The idea is to make it a little easier to find uses of this list, so searches don't hit occurrences of lang_output_section_statement_type and lang_output_section_statement_enum. * ldlang.h (lang_os_list): Rename from lang_output_section_statement. * ldlang.c: Likewise throughout file. * emultempl/alphaelf.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/mmo.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/pep.em: Likewise. * emultempl/ppc32elf.em: Likewise. * emultempl/spuelf.em: Likewise.
Diffstat (limited to 'ld/emultempl/mmo.em')
-rw-r--r--ld/emultempl/mmo.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/mmo.em b/ld/emultempl/mmo.em
index 0a25851..3e24e36 100644
--- a/ld/emultempl/mmo.em
+++ b/ld/emultempl/mmo.em
@@ -166,7 +166,7 @@ mmo_place_orphan (asection *s,
/* We have to find the oss before this one, so we can use that as
"after". */
- for (lookup = &lang_output_section_statement.head->output_section_statement;
+ for (lookup = &lang_os_list.head->output_section_statement;
lookup != NULL && lookup->next != before;
lookup = lookup->next)
;