linux-mips
[Top] [All Lists]

SHN_MIPS_SCOMMON

To: <linux-mips@oss.sgi.com>
Subject: SHN_MIPS_SCOMMON
From: Greg Satz <satz@ayrnetworks.com>
Date: Fri, 20 Jul 2001 16:15:28 -0600
Sender: owner-linux-mips@oss.sgi.com
User-agent: Microsoft-Entourage/9.0.2509
When making modules for the 2.4.2 kernel, gcc and friends will generate
SHN_MIPS_SCOMMON ELF segments (0xff03). Unfortunately insmod (obj_reloc.c)
doesn't know how to relocate these symbols and the module page faults at
location 4 upon initialization.

Is this a bug in obj_reloc.c not handling SHN_MIPS_SCOMMON like SHN_COMMON
or should everyone who makes mips kernel modules be using the -fno-common
gcc flag?

Thanks,
Greg


<Prev in Thread] Current Thread [Next in Thread>