summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-04-30 05:18:08 +0000
committerjdp <jdp@FreeBSD.org>1997-04-30 05:18:08 +0000
commit08224caae1ec57e6582634b37535f94b5689b44d (patch)
tree8be652501f52573ca03e9fcc79028d8dc4664af4 /libexec
parent220381edef9fbf8e0ff10672c34fa73934bb486a (diff)
downloadFreeBSD-src-08224caae1ec57e6582634b37535f94b5689b44d.zip
FreeBSD-src-08224caae1ec57e6582634b37535f94b5689b44d.tar.gz
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>
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-aout/i386/md.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/rtld-aout/i386/md.h b/libexec/rtld-aout/i386/md.h
index d1c1d9d..84785de 100644
--- a/libexec/rtld-aout/i386/md.h
+++ b/libexec/rtld-aout/i386/md.h
@@ -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;
OpenPOWER on IntegriCloud