* libnlm.h (struct nlm_backend_data): New fields
authorIan Lance Taylor <ian@airs.com>
Thu, 2 Dec 1993 02:22:35 +0000 (02:22 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 2 Dec 1993 02:22:35 +0000 (02:22 +0000)
commitcdbfad1cd7167c88ba56ba899b6f23cbb09768ab
tree0a05ac451202b9ef3f569738fb592a40bdf8a014
parentf7912fb4768f6f35da62cde87cb745bba818e875
* libnlm.h (struct nlm_backend_data): New fields
optional_prefix_size, nlm_backend_object_p, nlm_write_prefix,
nlm_set_public_section, nlm_get_public_offset.  Removed unused
nlm_write_reloc field.  Changed nlm_write_import to remove
unnecessary symbol argument.  Renamed nlm_write_externals to
nlm_write_external, and changed cound argument from bfd_vma to
bfd_size_type.
(nlm_optional_prefix_size, nlm_backend_object_p_func,
nlm_write_prefix_func, nlm_set_public_section_func,
nlm_get_public_offset_func): New accessor macros.
(nlm_write_reloc_func): Removed.
(nlm_write_external_func): Adjusted for field renaming.
* nlm32-i386.c (nlm_i386_write_import): Renamed from
nlm_i386_write_reloc.  Removed old nlm_i386_write_import which
just called old nlm_i386_write_reloc.
(nlm_i386_write_external): Renamed from nlm_i386_write_externals.
Declared.  Changed second argument from bfd_vma to bfd_size_type.
(nlm32_i386_backend): Adjusted for changes to fields and names.
* nlm32-sparc.c (nlm_sparc_mangle_relocs): Removed unused,
ifdeffed out code.
(nlm_sparc_write_import): Removed second argument.
(nlm_sparc_write_external): Renamed from
nlm_sparc_write_externals.  Changed second argument from bfd_vma
to bfd_size_type.
(nlm32_sparc_backend): Adjusted for changes to fields and names.
* nlmcode.h: Removed some unused code.
(nlm_object_p): Don't destroy tdata pointer.  Call
backend_object_p function if it exists.
(nlm_slurp_symbol_table): Removed unused variable rcount.  Call
set_public_section_func if it exists instead of checking
NLM_HIBIT.
(nlm_compute_section_file_positions): Account for
optional_prefix_size.
(nlm_write_object_contents): Account for optional_prefix_size.
Removed useless variable write_reloc_func.  Changed declaration
and call of write_import_func.  Call write_prefix_func if it
exists.  Removed unused variables len and temp.  Call
get_public_offset_func if it exists rather than setting NLM_HIBIT.
bfd/libnlm.h
bfd/nlm32-i386.c
bfd/nlm32-sparc.c [new file with mode: 0644]
bfd/nlmcode.h
This page took 0.050501 seconds and 4 git commands to generate.