diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-03-05 00:01:21 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-03-05 00:01:21 +0000 |
commit | 98c6030870335754afa4f1630777eb9ed79a3570 (patch) | |
tree | 743c714a95e75cabbb64ac865b865627c0d20100 /nuttx/configs/qemu-i486 | |
parent | bf3464e721711d8ec87807d89b77da8a1415ec50 (diff) |
More QEMU logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3337 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/qemu-i486')
-rw-r--r-- | nuttx/configs/qemu-i486/ostest/Make.defs | 7 | ||||
-rwxr-xr-x | nuttx/configs/qemu-i486/ostest/ld.script | 6 |
2 files changed, 4 insertions, 9 deletions
diff --git a/nuttx/configs/qemu-i486/ostest/Make.defs b/nuttx/configs/qemu-i486/ostest/Make.defs index e92dc4c5fa..c27cac0eff 100644 --- a/nuttx/configs/qemu-i486/ostest/Make.defs +++ b/nuttx/configs/qemu-i486/ostest/Make.defs @@ -80,12 +80,7 @@ AFLAGS = $(CFLAGS) -D__ASSEMBLY__ OBJEXT = .o LIBEXT = .a - -ifeq ($(HOSTOS),Cygwin) - EXEEXT = .exe -else - EXEEXT = -endif +EXEEXT = .elf ifeq ("${CONFIG_DEBUG_SYMBOLS}","y") LDFLAGS += -g diff --git a/nuttx/configs/qemu-i486/ostest/ld.script b/nuttx/configs/qemu-i486/ostest/ld.script index 3f2ff760ab..0996f53101 100755 --- a/nuttx/configs/qemu-i486/ostest/ld.script +++ b/nuttx/configs/qemu-i486/ostest/ld.script @@ -33,7 +33,7 @@ * ****************************************************************************/ -ENTRY(.loader) +ENTRY(__start) SECTIONS { . = 0x00100000; @@ -64,7 +64,7 @@ SECTIONS *(.gnu.linkonce.d.*) CONSTRUCTORS _edata = ABSOLUTE(.); - } > sram AT > flash + } .bss : { _sbss = ABSOLUTE(.); @@ -72,7 +72,7 @@ SECTIONS *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); - } > sram + } /* Stabs debugging sections. */ .stab 0 : { *(.stab) } |