]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/coffcode.h
Fri Oct 23 08:15:56 1992 Ian Lance Taylor (ian@cygnus.com)
authorIan Lance Taylor <ian@airs.com>
Fri, 23 Oct 1992 15:28:15 +0000 (15:28 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 23 Oct 1992 15:28:15 +0000 (15:28 +0000)
commitb26059aa449b61de921a90e76e8efcd75dd772a6
tree401c4db11942974f91aa072ad87a31957be21199
parentbccaecc63ba0d6594b3a1737eee70ee615278994
Fri Oct 23 08:15:56 1992  Ian Lance Taylor  (ian@cygnus.com)

* changes to support i386-sysv with shared libraries:
* coffcode.h (sec_to_styp_flags): if TWO_DATA_SECS is defined,
check for .data2; if _LIB is defined, check for it; map
SEC_NEVER_LOAD to STYP_NOLOAD.
(styp_to_sec_flags): map STYP_NOLOAD to SEC_NEVER_LOAD.
(make_a_section_from_file): if TWO_DATA_SECS, accept .data2.
(coff_write_object_contents): force vaddr of .lib to 0; set scnptr
if section has contents, not just if it is loadable; if
TWO_DATA_SECS, check for .data2
(coff_set_section_contents): set vma of .lib section to number of
.lib sections.
* coff-i386.c: define TWO_DATA_SECS; use a special CALC_ADDEND;
don't define coff_write_armap to bsd_write_armap.
* hosts/i386v.h: don't include <utime.h>, since it is not provided
by SVR3.2.
bfd/ChangeLog
bfd/coffcode.h
bfd/hosts/i386v.h