This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/14512] New: problem while linking the files


Hi,
  Thanks for your reply.
   Early i mentioned about my linking problem . my bug ID was 14443.
  My linker script is given below.
MEMORY
{
	/*TEXT*/
	rom (rx)	: ORIGIN = 0x01000000, LENGTH = 372K
	
	/*STACK*/
	ram1 (!rx)	: ORIGIN = 0x0105D000, LENGTH = 4K

	/*TEXT*/
	rom (!rx)	: ORIGIN = 0x0105E000, LENGTH = 5152K
}

SECTIONS
{
	.text 0x01000000 : {
	    *(.text)
	    *(.plt)
	    *(.interp)
	    } > rom
	.bss 0x0105E000  :
	    {
		*(.bss)
	    } >ram1
	.data 0x0105E000 :
	    {
		*(.data)
		*(.sdata)
		*(.sbss)
		*(COMMON)
		*(.dynbss)
		*(.dynsbss)
		*(.got)
	    } > ram2
}

It does not contain any Memory Layout tool(mlt). Is that any need for this mlt. 
How can i implement this mlt in my linker. Is there any other function have to 
be added to my linker script. 
or else i have to create a new board specification in my config tool according 
to my board. I have already given my board specification in my earlier mail.
what changes i have to made in my linker script.

Looking for ur reply

Thanks
sivaranjani.p

-- 
           Summary: problem while linking the files
           Product: gcc
           Version: 2.96 (redhat)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: axes_ecos2000 at yahoo dot co dot in
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14512


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]