aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/pe.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/pe.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/pe.em')
-rw-r--r--ld/emultempl/pe.em3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 218f98a..834215a 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -2154,8 +2154,7 @@ gld_${EMULATION_NAME}_place_orphan (asection *s,
NULL);
if (after == NULL)
/* *ABS* is always the first output section statement. */
- after = (&lang_output_section_statement.head
- ->output_section_statement);
+ after = &lang_os_list.head->output_section_statement;
}
/* All sections in an executable must be aligned to a page boundary.