🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41606

ld 2.5.2 problem: relocation truncated to fit

#41606
From: sammy
Date: Tue, 27 Feb 1996 00:00
18 lines
1219 bytes
Trying to link a large amount of code and have gotten the
following errors:

fake(.data+0x61): relocation truncated to fit: 8 .text
fake(.data+0x115): relocation truncated to fit: 8 .text
fake(.data+0x126): relocation truncated to fit: 8 .text
fake(.data+0x144): relocation truncated to fit: 8 .text
fake(.data+0x189): relocation truncated to fit: 8 .text
fake(.data+0x1a4): relocation truncated to fit: 8 .text
fake(.data+0x1b5): relocation truncated to fit: 8 .text
fake(.data+0x1ed): relocation truncated to fit: 8 .text
fake(.data+0x2a1): relocation truncated to fit: 8 .text

If I reduce the amount of code being linked, I don't get the
errors.  Have I reached some limitation with ld?   I'm using
the binutils 2.5.2 version of ld.

Thanks for any insight.
Technical Details
Message-ID: <4h01ac$142m@rtpnews.raleigh.ibm.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b0c69813df7f0806,start
X-Google-Attributes: gid11318c,public
From: sammy@miata.raleigh.ibm.com ()
Subject: ld 2.5.2 problem: relocation truncated to fit
Date: 1996/02/27
Message-ID: <4h01ac$142m@rtpnews.raleigh.ibm.com>
X-Deja-AN: 141405310
distribution: world
organization: ISSC South Region, RTP, NC
reply-to: samcland@raleigh.ibm.com
newsgroups: gnu.gcc.help