All of lore.kernel.org
 help / color / mirror / Atom feed
* unmatched R_MIPS_HI16/LO16 on gcc 3.4.3
@ 2006-07-25  2:49 ` wyb
  0 siblings, 0 replies; 6+ messages in thread
From: wyb @ 2006-07-25  2:49 UTC (permalink / raw)
  To: macro, ralf, sskowron, rsandifo; +Cc: linux-mips

Sorry for disturbing you.

I met similar problem as Stanislaw Skowronek, but for gcc 3.4.3. I created a
kernel module, when insmod, kernel reported "dangerous relocation". I traced
the bug, found unmatched R_MIPS_HI16/LO16 in module's elf file, and kernel
refused to relocate:
...
00015a5c  00039a05 R_MIPS_HI16       0000000c   tos_net_debug
00015a68  00000204 R_MIPS_26         00000000   .text
00015a64  00046005 R_MIPS_HI16       0006b598   arp_proxy_list
00015a6c  00046006 R_MIPS_LO16       0006b598   arp_proxy_list
...

My problem arised when expression on tos_net_debug could be optimized out,
it seemed like gcc optimized out the LO16, but left HI16.

The original discussion on similar problem is at
http://www.linux-mips.org/archives/linux-mips/2005-05/msg00097.html

thanks very much

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

end of thread, other threads:[~2006-07-31  8:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-25  2:49 unmatched R_MIPS_HI16/LO16 on gcc 3.4.3 wyb
2006-07-25  2:49 ` wyb
2006-07-25  3:44 ` Ralf Baechle
2006-07-31  1:58   ` wyb
2006-07-31  1:58     ` wyb
2006-07-31  8:34     ` Thiemo Seufer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.