mirror of
https://github.com/google/pebble.git
synced 2025-05-29 06:23:13 +00:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
53
sdk/pebble_app.ld.template
Normal file
53
sdk/pebble_app.ld.template
Normal file
|
@ -0,0 +1,53 @@
|
|||
|
||||
ENTRY(main)
|
||||
|
||||
MEMORY
|
||||
{
|
||||
APP (rwx) : ORIGIN = 0, LENGTH = @MAX_APP_MEMORY_SIZE@
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.header :
|
||||
{
|
||||
KEEP(*(.pbl_header))
|
||||
|
||||
} > APP
|
||||
|
||||
/* -- DO NOT ADD ANY NEW SECTIONS HERE AND DO NOT CHANGE THE ALIGNMENT -- */
|
||||
/* The GNU build ID is tacked to the end of the PebbleProcessInfo struct: */
|
||||
.note.gnu.build-id ALIGN(1) : {
|
||||
PROVIDE(BUILD_ID = .);
|
||||
KEEP(*(.note.gnu.build-id))
|
||||
} > APP
|
||||
|
||||
.text :
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.rodata)
|
||||
*(.rodata*)
|
||||
} > APP
|
||||
|
||||
.data :
|
||||
{
|
||||
KEEP(*(.data))
|
||||
*(.data.*)
|
||||
} > APP
|
||||
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
*(.bss.*)
|
||||
} > APP
|
||||
|
||||
DISCARD :
|
||||
{
|
||||
libc.a ( * )
|
||||
libm.a ( * )
|
||||
libgcc.a ( * )
|
||||
*(.eh_frame)
|
||||
}
|
||||
}
|
||||
|
||||
/* vim:filetype=ld */
|
Loading…
Add table
Add a link
Reference in a new issue