diff options
author | Jeff Law <law@redhat.com> | 1996-05-07 19:36:38 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-05-07 19:36:38 +0000 |
commit | 12688490b2ff9d512d7fbe9cf6121cf03443d3e1 (patch) | |
tree | 1690a18f12c48c76b4155a462bdb57ae24d5e2ce /ld | |
parent | 67afbceace2a3fcddbfb97368277f8449f4cabe4 (diff) | |
download | gdb-12688490b2ff9d512d7fbe9cf6121cf03443d3e1.zip gdb-12688490b2ff9d512d7fbe9cf6121cf03443d3e1.tar.gz gdb-12688490b2ff9d512d7fbe9cf6121cf03443d3e1.tar.bz2 |
* scripttempl/h8300.sc: Set the entry point to the value of
"_start" rather than the start of the text segment.
* scripttempl/h8300h.sc: Likewise.
So we can have data at the start of the text space.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 9 | ||||
-rw-r--r-- | ld/scripttempl/h8300.sc | 1 | ||||
-rw-r--r-- | ld/scripttempl/h8300h.sc | 1 |
3 files changed, 9 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index cc77722..f281c2e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -12,8 +12,13 @@ Tue May 7 10:56:11 1996 Doug Evans <dje@canuck.cygnus.com> Tue May 7 11:35:46 1996 Jeffrey A Law (law@cygnus.com) - * scripttempl (h8300.sc, h8300h.sc): Place .rodata sections - before .text sections in main ram. + * scripttempl/h8300.sc: Set the entry point to the value of + "_start" rather than the start of the text segment. + * scripttempl/h8300h.sc: Likewise. + + * scripttempl/h8300.sc: Place .rodata sections before .text + sections in main ram. + * scripttempl/h8300h.sc: Likewise. Mon May 6 23:32:30 1996 Jeffrey A Law (law@cygnus.com) diff --git a/ld/scripttempl/h8300.sc b/ld/scripttempl/h8300.sc index 3bedf12..7698e31 100644 --- a/ld/scripttempl/h8300.sc +++ b/ld/scripttempl/h8300.sc @@ -1,6 +1,7 @@ cat <<EOF OUTPUT_FORMAT("${OUTPUT_FORMAT}") OUTPUT_ARCH(${ARCH}) +ENTRY("_start") MEMORY { diff --git a/ld/scripttempl/h8300h.sc b/ld/scripttempl/h8300h.sc index 55c3226..2c04022 100644 --- a/ld/scripttempl/h8300h.sc +++ b/ld/scripttempl/h8300h.sc @@ -1,6 +1,7 @@ cat <<EOF OUTPUT_FORMAT("${OUTPUT_FORMAT}") OUTPUT_ARCH(h8300h) +ENTRY("_start") /* The memory size is 256KB to coincide with the simulator. Don't change either without considering the other. */ |