Update sources to GPLv3
[deliverable/binutils-gdb.git] / ld / emultempl / avrelf.em
index ba595e93094dc80cbc80175e0457bc17728acf56..9f24f18344ad5b6b545bfa0b4f3333ba01191592 100644 (file)
@@ -1,12 +1,12 @@
 # This shell script emits a C file. -*- C -*-
-#   Copyright 2006
+#   Copyright 2006, 2007
 #   Free Software Foundation, Inc.
 #
-# This file is part of GLD, the Gnu Linker.
+# This file is part of the GNU Binutils.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 
-# MA 02110-1301 USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+# MA 02110-1301, USA.
 
-# This file is sourced from elf32.em, and defines extra avr-elf
-# specific routines.  It is used to generate the trampolines for the avr6
-# family devices where one needs to address the issue that it is not possible
+
+# This file is sourced from elf32.em, and defines extra avr-elf specific
+# routines.  It is used to generate the trampolines for the avr6 family
+# of devices where one needs to address the issue that it is not possible
 # to reach the whole program memory by using 16 bit pointers.
 
 cat >>e${EMULATION_NAME}.c <<EOF
@@ -202,7 +203,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 +231,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")))
This page took 0.02715 seconds and 4 git commands to generate.