From 3ec8da655c7df40c184b347d556c553663e47f3d Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 3 Jun 2004 22:23:10 +0000 Subject: [PATCH] 2004-06-03 Alexandre Oliva * mn10300/sim.ld: Start at address 4, to avoid ambiguity with NULL pointers. --- libgloss/ChangeLog | 5 +++++ libgloss/mn10300/sim.ld | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index e5d595f37..b54e307bb 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2004-06-03 Alexandre Oliva + + * mn10300/sim.ld: Start at address 4, to avoid ambiguity with NULL + pointers. + 2004-05-26 Jeff Johnston * libnosys/sbrk.c: Add include of <_syslist.h> and "config.h". diff --git a/libgloss/mn10300/sim.ld b/libgloss/mn10300/sim.ld index 6824cdd04..0bfa27840 100644 --- a/libgloss/mn10300/sim.ld +++ b/libgloss/mn10300/sim.ld @@ -13,7 +13,7 @@ SECTIONS { /* Read-only sections, merged into text segment: */ /* Start of RAM (leaving room for Cygmon data) */ - . = 0; + . = 4; .interp : { *(.interp) } .hash : { *(.hash) }