summaryrefslogtreecommitdiff
path: root/ld/emultempl/avrelf.em
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/emultempl/avrelf.em
parenta79bee0f5cbdc6194bdae82d42211582d8bc603f (diff)
downloadbinutils-gdb-2a69000bfa0bee656a813120f1745c3baede0515.tar.gz
* 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/emultempl/avrelf.em')
-rw-r--r--ld/emultempl/avrelf.em4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/emultempl/avrelf.em b/ld/emultempl/avrelf.em
index ba595e93094..1f5ab5cf507 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")))