* deffilep.y (def_stash_module): Constify "name" param.
authorAlan Modra <amodra@gmail.com>
Tue, 18 Sep 2001 10:10:21 +0000 (10:10 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 18 Sep 2001 10:10:21 +0000 (10:10 +0000)
commitdb09f25b32e3a437a72c0bcc4ec67bb97d16e81b
tree2e779aa55a1c9d8b6c667b98057103535ea8d1ff
parent0e1a166b287f476e03396c78184211720765aa5e
* 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.
ld/ChangeLog
ld/deffilep.y
ld/emultempl/beos.em
ld/emultempl/pe.em
ld/pe-dll.c