Added some support for Irix 4 shared libraries.
authorIan Lance Taylor <ian@airs.com>
Thu, 31 Mar 1994 21:38:23 +0000 (21:38 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 31 Mar 1994 21:38:23 +0000 (21:38 +0000)
commitf8ee1ebba03386de6d5760f67ae773a3245431c3
treee6c0f9ea0055a705d350b7fd58a5bcb01105c450
parentdee4d3476be170781e2117d88111ea75956cbc34
Added some support for Irix 4 shared libraries.
* ecoff.c (ecoff_new_section_hook): Set SEC_SHARED_LIBRARY for a
.lib section.
(ecoff_sec_to_styp_flags): Set SEC_SHARED_LIBRARY if
STYP_ECOFF_LIB bit is set.
(ecoff_compute_section_file_positions): Round the contents of a
.lib section up to the next page boundary.
(ecoff_set_section_contents): If we see a .lib section, increment
the vma by one to count the number of shared libraries we have.
(ecoff_write_object_contents): Don't crash if we see a
STYP_ECOFF_LIB section, and don't adjust text_start or data_start
or bss_size either.
bfd/ChangeLog
bfd/ecoff.c