mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +08:00
* m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
(*.o): Add dependencies. * m32c/m32csys.h: Move syscall location to 0x400 as per Renesas recommendations.
This commit is contained in:
parent
babc4e5424
commit
82ef66c933
@ -1,3 +1,10 @@
|
||||
2005-08-19 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
|
||||
(*.o): Add dependencies.
|
||||
* m32c/m32csys.h: Move syscall location to 0x400 as per Renesas
|
||||
recommendations.
|
||||
|
||||
2005-08-11 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* m32c/Makefile.in: Block out memory regions reserved for monitors
|
||||
|
@ -125,10 +125,10 @@ m32c.ld : $(GDEP)
|
||||
|
||||
|
||||
m16cmon.ld : $(GDEP)
|
||||
$(GS) m16c 0x400 0x100 0xff600 0x800 0xfff
|
||||
$(GS) m16cmon 0x400 0x100 0xff600 0x800 0xfff
|
||||
|
||||
m32cmon.ld : $(GDEP)
|
||||
$(GS) m16c 0x400 0x100 0xfff600 0x800 0xffff
|
||||
$(GS) m32cmon 0x400 0x100 0xfff600 0x800 0xffff
|
||||
|
||||
|
||||
sim8.ld : $(GDEP)
|
||||
@ -140,6 +140,32 @@ sim16.ld : $(GDEP)
|
||||
sim24.ld : $(GDEP)
|
||||
$(GS) sim24 0x200000 0x800000 0 0 0xffff
|
||||
|
||||
# Dependencies
|
||||
|
||||
SDEPS = $(srcdir)/m32csys.h $(srcdir)/../syscall.h
|
||||
|
||||
abort.o : $(SDEPS)
|
||||
argv.o : $(SDEPS)
|
||||
argvlen.o : $(SDEPS)
|
||||
chdir.o : $(SDEPS)
|
||||
chmod.o : $(SDEPS)
|
||||
close.o : $(SDEPS)
|
||||
exit.o : $(SDEPS)
|
||||
fstat.o : $(SDEPS)
|
||||
getpid.o : $(SDEPS)
|
||||
gettimeofday.o : $(SDEPS)
|
||||
heaptop.o : $(SDEPS)
|
||||
kill.o : $(SDEPS)
|
||||
link.o : $(SDEPS)
|
||||
lseek.o : $(SDEPS)
|
||||
open.o : $(SDEPS)
|
||||
read.o : $(SDEPS)
|
||||
stat.o : $(SDEPS)
|
||||
time.o : $(SDEPS)
|
||||
times.o : $(SDEPS)
|
||||
unlink.o : $(SDEPS)
|
||||
utime.o : $(SDEPS)
|
||||
write.o : $(SDEPS)
|
||||
|
||||
install: $(CRT) $(SIM_BSP) $(SCRIPTS)
|
||||
for c in $(CRT) $(SIM_BSP); do \
|
||||
|
@ -32,12 +32,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include "syscall.h"
|
||||
|
||||
/* Both the simulators and monitors reserve RAM areas 0x400 through
|
||||
0x4ff for their internal use. We use one of those memory locations
|
||||
as our system call trap. */
|
||||
|
||||
#define POUND #
|
||||
#if defined(__r8c_cpu__) || defined(__m16c_cpu__)
|
||||
#define SYSCALL(N) mov.b POUND N,r0l | ste.b r0l,0xe0000
|
||||
#else
|
||||
#define SYSCALL(N) mov.b POUND N,0xe0000
|
||||
#endif
|
||||
#define SYSCALL(N) mov.b POUND N,0x400
|
||||
|
||||
#define SYS__exit SYS_exit
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user