Bug 14512 - problem while linking the files
Summary: problem while linking the files
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: debug (show other bugs)
Version: 2.96 (redhat)
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-10 12:10 UTC by axes
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description axes 2004-03-10 12:10:42 UTC
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
Comment 1 Andrew Pinski 2004-03-10 14:40:11 UTC
Invalid as we do not support binutils problems (linker is included with binutils), ask on say the binutils 
list.