diff options
author | Alan Modra <amodra@gmail.com> | 2001-09-18 10:10:21 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-09-18 10:10:21 +0000 |
commit | db09f25b32e3a437a72c0bcc4ec67bb97d16e81b (patch) | |
tree | 2e779aa55a1c9d8b6c667b98057103535ea8d1ff /ld/emultempl/beos.em | |
parent | 0e1a166b287f476e03396c78184211720765aa5e (diff) | |
download | gdb-db09f25b32e3a437a72c0bcc4ec67bb97d16e81b.zip gdb-db09f25b32e3a437a72c0bcc4ec67bb97d16e81b.tar.gz gdb-db09f25b32e3a437a72c0bcc4ec67bb97d16e81b.tar.bz2 |
* deffilep.y (def_stash_module): Constify "name" param.
* pe-dll.c: Replace CONST with const throughout.
(quick_symbol): Constify "n1", "n2", "n3" params.
(make_singleton_name_thunk): Constify "import" param. Make
"buffer_len" a size_t.
(make_import_fixup_entry): Constify "name", "fixup_name",
"dll_symname" params.
(pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread.
(pe_get32): Likewise.
(pe_implied_import_dll): Likewise.
* emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
(sort_by_section_name): Likewise.
* emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
(make_import_fixup): Cast printf arg, rel->address to long rather
than int.
(gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
Diffstat (limited to 'ld/emultempl/beos.em')
-rw-r--r-- | ld/emultempl/beos.em | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em index 085edc8..cbff05c 100644 --- a/ld/emultempl/beos.em +++ b/ld/emultempl/beos.em @@ -461,8 +461,8 @@ sort_by_file_name (a, b) const PTR a; const PTR b; { - lang_statement_union_type **ra = a; - lang_statement_union_type **rb = b; + const lang_statement_union_type *const *ra = a; + const lang_statement_union_type *const *rb = b; int i, a_sec, b_sec; i = strcmp ((*ra)->input_section.ifile->the_bfd->my_archive->filename, @@ -518,8 +518,8 @@ sort_by_section_name (a, b) const PTR a; const PTR b; { - lang_statement_union_type **ra = a; - lang_statement_union_type **rb = b; + const lang_statement_union_type *const *ra = a; + const lang_statement_union_type *const *rb = b; int i; i = strcmp ((*ra)->input_section.section->name, (*rb)->input_section.section->name); |