Linux MIPS Architecture development
 help / color / mirror / Atom feed
* SHN_MIPS_SCOMMON
@ 2001-07-20 22:15 Greg Satz
  2001-07-20 22:15 ` SHN_MIPS_SCOMMON Greg Satz
  2001-07-21  1:30 ` SHN_MIPS_SCOMMON Ralf Baechle
  0 siblings, 2 replies; 14+ messages in thread
From: Greg Satz @ 2001-07-20 22:15 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2001-07-21 23:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-20 22:15 SHN_MIPS_SCOMMON Greg Satz
2001-07-20 22:15 ` SHN_MIPS_SCOMMON Greg Satz
2001-07-21  1:30 ` SHN_MIPS_SCOMMON Ralf Baechle
2001-07-21  9:22   ` SHN_MIPS_SCOMMON Greg Satz
2001-07-21  9:22     ` SHN_MIPS_SCOMMON Greg Satz
2001-07-21 12:11     ` SHN_MIPS_SCOMMON Ralf Baechle
2001-07-21 17:41       ` SHN_MIPS_SCOMMON H . J . Lu
2001-07-21 18:12         ` SHN_MIPS_SCOMMON Greg Satz
2001-07-21 18:12           ` SHN_MIPS_SCOMMON Greg Satz
2001-07-21 18:13           ` SHN_MIPS_SCOMMON H . J . Lu
2001-07-21 18:56             ` SHN_MIPS_SCOMMON Ralf Baechle
2001-07-21 19:03               ` SHN_MIPS_SCOMMON H . J . Lu
2001-07-21 23:20                 ` SHN_MIPS_SCOMMON Ralf Baechle
2001-07-21 18:55         ` SHN_MIPS_SCOMMON Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox