From 2a69000bfa0bee656a813120f1745c3baede0515 Mon Sep 17 00:00:00 2001 From: Denis Chertykov Date: Sat, 5 May 2007 06:51:24 +0000 Subject: [PATCH] * 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". --- ld/ChangeLog | 6 ++++++ ld/emultempl/avrelf.em | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 7e8d30423c7..68fdee1c6e5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2007-05-05 Anatoly Sokolov + + * 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 * scripttempl/elfxtensa.sc: Merge changes from elf.sc. 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" " " - ". Supported values are 16k, 32k and 64k.\n")); + ". 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"))) -- 2.30.2