Fix a bug that caused the relocs for linker set members in shared

libraries to come out as 1-byte relocations instead of 4-byte
relocations.

Submitted by:	Doug Rabson <dfr@nlsystems.com>
This commit is contained in:
John Polstra 1997-04-30 05:18:08 +00:00
parent 3f05ff3340
commit aafb797228
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25300
2 changed files with 6 additions and 2 deletions

View File

@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: md.h,v 1.16 1997/02/22 15:46:34 peter Exp $
*/
#ifndef __MD_H__
@ -95,6 +95,8 @@
#define md_get_rt_segment_addend(r,a) md_get_addend(r,a)
#define RELOC_INIT_SEGMENT_RELOC(r) ((r)->r_length = 2)
/* Width of a Global Offset Table entry */
#define GOT_ENTRY_SIZE 4
typedef long got_t;

View File

@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: md.h,v 1.16 1997/02/22 15:46:34 peter Exp $
*/
#ifndef __MD_H__
@ -95,6 +95,8 @@
#define md_get_rt_segment_addend(r,a) md_get_addend(r,a)
#define RELOC_INIT_SEGMENT_RELOC(r) ((r)->r_length = 2)
/* Width of a Global Offset Table entry */
#define GOT_ENTRY_SIZE 4
typedef long got_t;