* libnlm.h (nlm_backend_data): Added nlm_mangle_relocs.
authorIan Lance Taylor <ian@airs.com>
Wed, 4 Aug 1993 20:25:53 +0000 (20:25 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 4 Aug 1993 20:25:53 +0000 (20:25 +0000)
commit7389debf1cce959d9b36469d9cbff11e0f29587a
tree6e52fcf70d2adb5dd7f5f766f3e2ebd251fc43da
parentcdbcb08c10e21e6ff19510233dd47b0552fc16cf
* libnlm.h (nlm_backend_data): Added nlm_mangle_relocs.
(nlm_mangle_relocs_func): New macro.
* nlm32-i386.c (nlm_i386_write_reloc): Rewrote correctly.
(nlm_i386_mangle_relocs): New function.
* nlmcode.h (nlm_compute_section_file_positions): Move all common
symbols into the .bss section.
(nlm_set_section_contents): Call the mangle_relocs function.
(nlm_write_object_contents): Treat a reloc against any defined
symbol as an internal reloc.  Fix bug in external reloc counting.
Get the offset and debugging type right for .bss symbols.  Only
output debugging symbols for defined symbols.
bfd/ChangeLog
bfd/libnlm.h
bfd/nlm32-i386.c [new file with mode: 0644]
bfd/nlmcode.h