diff options
author | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
commit | b34976b65aea8f33690229600bbf4527ec3118e1 (patch) | |
tree | 6411348664ef81ca2aa2e3ff325116e6e6502edf /ld/emultempl/ppc64elf.em | |
parent | 583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff) | |
download | gdb-b34976b65aea8f33690229600bbf4527ec3118e1.zip gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.gz gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.bz2 |
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Diffstat (limited to 'ld/emultempl/ppc64elf.em')
-rw-r--r-- | ld/emultempl/ppc64elf.em | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index b5dd6a2..185a590 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -41,13 +41,20 @@ static bfd_signed_vma group_size = 1; /* Whether to add ".foo" entries for each "foo" in a version script. */ static int dotsyms = 1; -static void ppc_create_output_section_statements PARAMS ((void)); -static void ppc_after_open PARAMS ((void)); -static void ppc_before_allocation PARAMS ((void)); -static asection *ppc_add_stub_section PARAMS ((const char *, asection *)); -static void ppc_layout_sections_again PARAMS ((void)); -static void gld${EMULATION_NAME}_after_allocation PARAMS ((void)); -static void build_section_lists PARAMS ((lang_statement_union_type *)); +static void ppc_create_output_section_statements + PARAMS ((void)); +static void ppc_after_open + PARAMS ((void)); +static void ppc_before_allocation + PARAMS ((void)); +static asection *ppc_add_stub_section + PARAMS ((const char *, asection *)); +static void ppc_layout_sections_again + PARAMS ((void)); +static void gld${EMULATION_NAME}_after_allocation + PARAMS ((void)); +static void build_section_lists + PARAMS ((lang_statement_union_type *)); static struct bfd_elf_version_expr *gld${EMULATION_NAME}_new_vers_pattern PARAMS ((struct bfd_elf_version_expr *)); @@ -105,16 +112,16 @@ struct hook_stub_info /* Traverse the linker tree to find the spot where the stub goes. */ -static boolean hook_in_stub +static bfd_boolean hook_in_stub PARAMS ((struct hook_stub_info *, lang_statement_union_type **)); -static boolean +static bfd_boolean hook_in_stub (info, lp) struct hook_stub_info *info; lang_statement_union_type **lp; { lang_statement_union_type *l; - boolean ret; + bfd_boolean ret; for (; (l = *lp) != NULL; lp = &l->header.next) { @@ -152,7 +159,7 @@ hook_in_stub (info, lp) before its associated input section. */ *lp = info->add.head; *(info->add.tail) = l; - return true; + return TRUE; } break; @@ -173,7 +180,7 @@ hook_in_stub (info, lp) break; } } - return false; + return FALSE; } |