Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
14e61beb
Commit
14e61beb
authored
17 years ago
by
Jesper Nilsson
Browse files
Options
Download
Email Patches
Plain Diff
CRIS v32: Update boot/rescue/rescue.ld
- Update to work for ETRAX FS and ARTPEC-3
parent
45a4127c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
7 deletions
+30
-7
arch/cris/arch-v32/boot/rescue/rescue.ld
arch/cris/arch-v32/boot/rescue/rescue.ld
+30
-7
No files found.
arch/cris/arch-v32/boot/rescue/rescue.ld
View file @
14e61beb
/*#OUTPUT_FORMAT(elf32-us-cris) */
OUTPUT_ARCH (crisv32)
/* Now that NAND support has been stripped, this file could be simplified,
* but it doesn't do any harm on the other hand so why bother. */
MEMORY
{
flash : ORIGIN = 0x00000000,
LENGTH = 0x00100000
bootblk : ORIGIN = 0x38000000,
LENGTH = 0x00004000
intmem : ORIGIN = 0x38004000,
LENGTH = 0x00005000
}
SECTIONS
{
.text :
{
stext = . ;
_
stext = . ;
*(.text)
etext = . ;
} > flash
*(.init.text)
*(.rodata)
*(.rodata.*)
_etext = . ;
} > bootblk
.data :
{
*(.data)
edata = . ;
} > flash
_edata = . ;
} > bootblk
.bss :
{
_bss = . ;
*(.bss)
_end = ALIGN( 0x10 ) ;
} > intmem
/* Get rid of stuff from EXPORT_SYMBOL(foo). */
/DISCARD/ :
{
*(__ksymtab_strings)
*(__ksymtab)
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment