public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* common RODATA in vmlinux.lds.h (2.5.59)
@ 2003-01-22  2:05 Greg Ungerer
  2003-01-22  2:49 ` Kai Germaschewski
  0 siblings, 1 reply; 14+ messages in thread
From: Greg Ungerer @ 2003-01-22  2:05 UTC (permalink / raw)
  To: linux-kernel

Hi All,

The new common definition of RODATA for linker scripts
(in include/asm-generic/vmlinux.lds.h) is causing me some
amount of pain, at least on the m68knommu architecture.

The problem is that on the m68knommu arch linker script
it fundamentaly groups everything into 2 memory regions,
one for flash and one for ram. Each section is then
directed to the appropriate memory region, eg:

         .text : {
             *(.text)
         } > flash

With the way the RODATA define is setup I cannot do this.
It contains definitions for a number of complete sections.

Anyone got any ideas on the best way to fix this?

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Wizard        EMAIL:  gerg@snapgear.com
Snapgear Pty Ltd                               PHONE:    +61 7 3279 1822
825 Stanley St,                                  FAX:    +61 7 3279 1820
Woolloongabba, QLD, 4102, Australia              WEB:   www.SnapGear.com






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

end of thread, other threads:[~2003-01-23  5:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-22  2:05 common RODATA in vmlinux.lds.h (2.5.59) Greg Ungerer
2003-01-22  2:49 ` Kai Germaschewski
2003-01-22  3:25   ` Greg Ungerer
2003-01-22  4:32     ` Miles Bader
2003-01-22  4:47       ` Greg Ungerer
2003-01-22  5:42       ` Sam Ravnborg
2003-01-22  6:00         ` Miles Bader
2003-01-22  5:55       ` Kai Germaschewski
2003-01-22  6:23         ` Miles Bader
2003-01-22 16:32           ` Kai Germaschewski
2003-01-23  2:03             ` Miles Bader
2003-01-23  5:59             ` Greg Ungerer
2003-01-22  6:35         ` Greg Ungerer
2003-01-22 16:35           ` Kai Germaschewski

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