aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDenis Chertykov <denisc@overta.ru>2007-05-05 06:51:24 +0000
committerDenis Chertykov <denisc@overta.ru>2007-05-05 06:51:24 +0000
commit2a69000bfa0bee656a813120f1745c3baede0515 (patch)
treef459a5b360291e27b9c4248ed12c56d7d1521a2f /ld
parenta79bee0f5cbdc6194bdae82d42211582d8bc603f (diff)
downloadgdb-2a69000bfa0bee656a813120f1745c3baede0515.zip
gdb-2a69000bfa0bee656a813120f1745c3baede0515.tar.gz
gdb-2a69000bfa0bee656a813120f1745c3baede0515.tar.bz2
* multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
"--pmem-wrap-around". (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/emultempl/avrelf.em4
2 files changed, 9 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 7e8d304..68fdee1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-05 Anatoly Sokolov <aesok@post.ru>
+
+ * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
+ "--pmem-wrap-around".
+ (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
+
2007-05-03 Bob Wilson <bob.wilson@acm.org>
* scripttempl/elfxtensa.sc: Merge changes from elf.sc.
diff --git a/ld/emultempl/avrelf.em b/ld/emultempl/avrelf.em
index ba595e9..1f5ab5c 100644
--- a/ld/emultempl/avrelf.em
+++ b/ld/emultempl/avrelf.em
@@ -202,7 +202,7 @@ PARSE_AND_LIST_OPTIONS='
" "
"program counter wrap-around occures at address\n"
" "
- "<val>. Supported values are 16k, 32k and 64k.\n"));
+ "<val>. Supported values are 8k, 16k, 32k and 64k.\n"));
fprintf (file, _(" --no-call-ret-replacement "
"The relaxation machine normally will\n"
" "
@@ -230,6 +230,8 @@ PARSE_AND_LIST_ARGS_CASES='
/* This variable is defined in the bfd library. */
if ((!strcmp (optarg,"32k")) || (!strcmp (optarg,"32K")))
avr_pc_wrap_around = 32768;
+ else if ((!strcmp (optarg,"8k")) || (!strcmp (optarg,"8K")))
+ avr_pc_wrap_around = 8192;
else if ((!strcmp (optarg,"16k")) || (!strcmp (optarg,"16K")))
avr_pc_wrap_around = 16384;
else if ((!strcmp (optarg,"64k")) || (!strcmp (optarg,"64K")))