* elfcode.h (bfd_section_from_shdr): Only set SEC_DATA for a
authorIan Lance Taylor <ian@airs.com>
Mon, 20 Sep 1993 23:25:52 +0000 (23:25 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 20 Sep 1993 23:25:52 +0000 (23:25 +0000)
commit36d541b1c75637ae7b5eabac2d1b5be83ad2ff8b
tree9233ec5e934c4e0630f1caaf5e6a4e6221df5909
parent2a1bb527575747317184f9641a4c278a78f70714
* elfcode.h (bfd_section_from_shdr): Only set SEC_DATA for a
SHF_PROGBITS or SHT_STRTAB section if SEC_ALLOC is set.  Never set
SEC_DATA for a SHF_NOBITS section.

* nlm32-i386.c (nlm_i386_mangle_relocs): Check SEC_LOAD rather
than SEC_CODE | SEC_DATA.  Add some casts to avoid warnings.
* nlmcode.h: Add some casts to avoid warnings.
(nlm_write_object_contents): Ignore relocs for sections that are
neither code nor data.  Just use the symbol value for debugging
symbols; don't offset by the section vma.
bfd/ChangeLog
bfd/elfcode.h
This page took 0.023796 seconds and 4 git commands to generate.