summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libgloss/ChangeLog5
-rw-r--r--libgloss/mn10300/sim.ld2
2 files changed, 6 insertions, 1 deletions
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 <aoliva@redhat.com>
+
+ * mn10300/sim.ld: Start at address 4, to avoid ambiguity with NULL
+ pointers.
+
2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
* 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) }