From fed8278b1389e6cf300533ac544908863b5fe9c3 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 18 Feb 2008 19:25:44 +0000 Subject: [PATCH] Trying to remove link warnings (still unsuccessful) git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@711 42af7a65-404d-4744-a932-0658087f49c3 --- arch/z80/src/z8/z8_head.S | 10 ++++++++-- arch/z80/src/z8/z8_vector.S | 8 ++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/arch/z80/src/z8/z8_head.S b/arch/z80/src/z8/z8_head.S index 6267a48dda..49e0bd7565 100755 --- a/arch/z80/src/z8/z8_head.S +++ b/arch/z80/src/z8/z8_head.S @@ -101,9 +101,15 @@ * Code **************************************************************************/ - /* Reset vector */ + segment CODE + +/************************************************************************** + * Interrupt Vectors + **************************************************************************/ - vector reset=_z8_reset + /* Reset vector */ + + vector RESET = _z8_reset /************************************************************************** * Name: _z16f_reset diff --git a/arch/z80/src/z8/z8_vector.S b/arch/z80/src/z8/z8_vector.S index 186f59b595..788cb10ea9 100755 --- a/arch/z80/src/z8/z8_vector.S +++ b/arch/z80/src/z8/z8_vector.S @@ -248,6 +248,12 @@ LEAVE : MACRO /************************************************************************** * Code + **************************************************************************/ + + segment CODE + +/************************************************************************** + * Interrupt Vectors **************************************************************************/ #if defined(ENCORE_VECTORS) @@ -444,8 +450,6 @@ endif * **************************************************************************/ - define startup, space=rom - segment startup #if defined(ENCORE_VECTORS) _z8_wdt_handler: ENTER(Z8_WDT_IRQ)