forked from Imagelibrary/rtems
2002-12-19 Joel Sherrill <joel@OARcorp.com>
* start/start.S: Per PR329 now compiles with GNU tools. * startup/linkcmds: New file. Now almost links.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-12-19 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* start/start.S: Per PR329 now compiles with GNU tools.
|
||||
* startup/linkcmds: New file. Now almost links.
|
||||
|
||||
2002-12-19 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* start/start.S: Per PR329 now compiles with GNU tools.
|
||||
|
||||
@@ -26,7 +26,14 @@ $(PGM): $(OBJS)
|
||||
|
||||
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
|
||||
|
||||
all-local: $(ARCH) $(OBJS) $(PGM)
|
||||
bsplib_DATA = linkcmds
|
||||
|
||||
$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
|
||||
|
||||
all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
|
||||
|
||||
.PRECIOUS: $(PGM)
|
||||
|
||||
|
||||
35
c/src/lib/libbsp/hppa1.1/simhppa/startup/linkcmds
Normal file
35
c/src/lib/libbsp/hppa1.1/simhppa/startup/linkcmds
Normal file
@@ -0,0 +1,35 @@
|
||||
/* Script for -n: mix text and data on same page */
|
||||
OUTPUT_FORMAT("elf32-hppa")
|
||||
OUTPUT_ARCH(hppa)
|
||||
ENTRY("$START$")
|
||||
SEARCH_DIR("/opt/rtems/hppa1.1-rtems/lib");
|
||||
SECTIONS
|
||||
{
|
||||
.text 0x1000 +0x1000:
|
||||
{
|
||||
__text_start = .;
|
||||
CREATE_OBJECT_SYMBOLS
|
||||
*(.PARISC.stubs)
|
||||
*(.text)
|
||||
etext = .;
|
||||
_etext = .;
|
||||
}
|
||||
. = 0x40000000;
|
||||
.data :
|
||||
{
|
||||
. = . + 0x1000 ;
|
||||
__data_start = .;
|
||||
*(.data)
|
||||
CONSTRUCTORS
|
||||
edata = .;
|
||||
_edata = .;
|
||||
}
|
||||
. = 0x40000000 + SIZEOF(.data);
|
||||
.bss :
|
||||
{
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
end = . ;
|
||||
_end = . ;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user