]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove trailing white spaces in ld
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 10 Jan 2013 20:08:03 +0000 (20:08 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 10 Jan 2013 20:08:03 +0000 (20:08 +0000)
* deffilep.y: Remove trailing white spaces.
* elf-hints-local.h: Likewise.
* ldexp.c: Likewise.
* ldlang.h: Likewise.
* ldmisc.c: Likewise.
* ldwrite.c: Likewise.
* pe-dll.c: Likewise.
* emulparams/criself.sh: Likewise.
* emulparams/crislinux.sh: Likewise.
* emulparams/elf32_tic6x_le.sh: Likewise.
* emulparams/elf32bmipn32-defs.sh: Likewise.
* emulparams/elf32mb_linux.sh: Likewise.
* emulparams/elf32mep.sh: Likewise.
* emulparams/elf32microblaze.sh: Likewise.
* emulparams/elf32ppc.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf64alpha.sh: Likewise.
* emulparams/elf_s390.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* emulparams/tic80coff.sh: Likewise.
* emultempl/aix.em: Likewise.
* emultempl/avrelf.em: Likewise.
* emultempl/cr16elf.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/pep.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/tic6xdsbt.em: Likewise.

28 files changed:
ld/ChangeLog
ld/deffilep.y
ld/elf-hints-local.h
ld/emulparams/criself.sh
ld/emulparams/crislinux.sh
ld/emulparams/elf32_tic6x_le.sh
ld/emulparams/elf32bmipn32-defs.sh
ld/emulparams/elf32mb_linux.sh
ld/emulparams/elf32mep.sh
ld/emulparams/elf32microblaze.sh
ld/emulparams/elf32ppc.sh
ld/emulparams/elf64_s390.sh
ld/emulparams/elf64alpha.sh
ld/emulparams/elf_s390.sh
ld/emulparams/elf_x86_64.sh
ld/emulparams/tic80coff.sh
ld/emultempl/aix.em
ld/emultempl/avrelf.em
ld/emultempl/cr16elf.em
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/emultempl/spuelf.em
ld/emultempl/tic6xdsbt.em
ld/ldexp.c
ld/ldlang.h
ld/ldmisc.c
ld/ldwrite.c
ld/pe-dll.c

index 5fe6ed4dbbb920ca45e187c5901e751f9f708410..860f05a872c16de5c79956381fa0734c35a67004 100644 (file)
@@ -1,3 +1,33 @@
+2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * deffilep.y: Remove trailing white spaces.
+       * elf-hints-local.h: Likewise.
+       * ldexp.c: Likewise.
+       * ldlang.h: Likewise.
+       * ldmisc.c: Likewise.
+       * ldwrite.c: Likewise.
+       * pe-dll.c: Likewise.
+       * emulparams/criself.sh: Likewise.
+       * emulparams/crislinux.sh: Likewise.
+       * emulparams/elf32_tic6x_le.sh: Likewise.
+       * emulparams/elf32bmipn32-defs.sh: Likewise.
+       * emulparams/elf32mb_linux.sh: Likewise.
+       * emulparams/elf32mep.sh: Likewise.
+       * emulparams/elf32microblaze.sh: Likewise.
+       * emulparams/elf32ppc.sh: Likewise.
+       * emulparams/elf64_s390.sh: Likewise.
+       * emulparams/elf64alpha.sh: Likewise.
+       * emulparams/elf_s390.sh: Likewise.
+       * emulparams/elf_x86_64.sh: Likewise.
+       * emulparams/tic80coff.sh: Likewise.
+       * emultempl/aix.em: Likewise.
+       * emultempl/avrelf.em: Likewise.
+       * emultempl/cr16elf.em: Likewise.
+       * emultempl/pe.em: Likewise.
+       * emultempl/pep.em: Likewise.
+       * emultempl/spuelf.em: Likewise.
+       * emultempl/tic6xdsbt.em: Likewise.
+
 2013-01-10  Will Newton <will.newton@imgtec.com>
 
        * Makefile.am: Add Meta.
index 3afb3ce3ce859ffcd370f53c99afbeadb3136c2e..cbc171469d467116d1b503a50dd0abd93471d418 100644 (file)
 #define        yylval  def_lval
 #define        yychar  def_char
 #define        yydebug def_debug
-#define        yypact  def_pact        
-#define        yyr1    def_r1                  
-#define        yyr2    def_r2                  
-#define        yydef   def_def         
-#define        yychk   def_chk         
-#define        yypgo   def_pgo         
-#define        yyact   def_act         
+#define        yypact  def_pact
+#define        yyr1    def_r1
+#define        yyr2    def_r2
+#define        yydef   def_def
+#define        yychk   def_chk
+#define        yypgo   def_pgo
+#define        yyact   def_act
 #define        yyexca  def_exca
 #define yyerrflag def_errflag
 #define yynerrs        def_nerrs
@@ -138,7 +138,7 @@ start: start command
        | command
        ;
 
-command: 
+command:
                NAME opt_name opt_base { def_image_name ($2, $3, 0); }
        |       LIBRARY opt_name opt_base { def_image_name ($2, $3, 1); }
        |       DESCRIPTION ID { def_description ($2);}
@@ -147,7 +147,7 @@ command:
        |       CODE attr_list { def_section ("CODE", $2);}
        |       DATAU attr_list  { def_section ("DATA", $2);}
        |       SECTIONS seclist
-       |       EXPORTS explist 
+       |       EXPORTS explist
        |       IMPORTS implist
        |       VERSIONK NUMBER { def_version ($2, 0);}
        |       VERSIONK NUMBER '.' NUMBER { def_version ($2, $4);}
@@ -186,7 +186,7 @@ exp_opt:
        |       PRIVATEU        { $$ = 8; }
        |       PRIVATEL        { $$ = 8; }
        ;
-implist:       
+implist:
                implist impline
        |       impline
        ;
@@ -223,15 +223,15 @@ attr_list:
 
 opt_comma:
        ','
-       | 
+       |
        ;
 opt_number: ',' NUMBER { $$=$2;}
        |          { $$=-1;}
        ;
-       
+
 attr:
                READ    { $$ = 1;}
-       |       WRITE   { $$ = 2;}      
+       |       WRITE   { $$ = 2;}
        |       EXECUTE { $$=4;}
        |       SHARED  { $$=8;}
        ;
@@ -275,19 +275,19 @@ opt_name2: ID { $$ = $1; }
            $$ = name;
          }
        | '.' opt_name2
-         { 
+         {
            char *name = def_pool_alloc (strlen ($2) + 2);
            sprintf (name, ".%s", $2);
            $$ = name;
          }
        | keyword_as_name '.' opt_name2
-         { 
+         {
            char *name = def_pool_alloc (strlen ($1) + 1 + strlen ($3) + 1);
            sprintf (name, "%s.%s", $1, $3);
            $$ = name;
          }
        | ID '.' opt_name2
-         { 
+         {
            char *name = def_pool_alloc (strlen ($1) + 1 + strlen ($3) + 1);
            sprintf (name, "%s.%s", $1, $3);
            $$ = name;
@@ -302,14 +302,14 @@ opt_equalequal_name: EQUAL ID     { $$ = $2; }
        |                                                       { $$ = 0; }
        ;
 
-opt_ordinal: 
+opt_ordinal:
          '@' NUMBER     { $$ = $2;}
        |                { $$ = -1;}
        ;
 
 opt_equal_name:
           '=' opt_name2        { $$ = $2; }
-        |              { $$ =  0; }                     
+        |              { $$ =  0; }
        ;
 
 opt_base: BASE '=' NUMBER      { $$ = $3;}
@@ -960,7 +960,7 @@ def_image_name (const char *name, int base, int is_dll)
               name);
       if (def->name)
        free (def->name);
-      /* Append the default suffix, if none specified.  */ 
+      /* Append the default suffix, if none specified.  */
       if (strchr (image_name, '.') == 0)
        {
          const char * suffix = is_dll ? ".dll" : ".exe";
@@ -1115,7 +1115,7 @@ def_import (const char *internal_name,
   char *buf = 0;
   const char *ext = dllext ? dllext : "dll";
   int is_dup = 0;
-   
+
   buf = xmalloc (strlen (module) + strlen (ext) + 2);
   sprintf (buf, "%s.%s", module, ext);
   module = buf;
@@ -1147,7 +1147,7 @@ static void
 def_aligncomm (char *str, int align)
 {
   def_file_aligncomm *c, *p;
-  
+
   p = NULL;
   c = def->aligncomms;
   while (c != NULL)
index 67fcb5ca992ea17463b5a926ab7e85ca6f81cbc3..02dd019d4914a2a5f25a7229d7f09e6cee85521d 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 1997 John D. Polstra.
    All rights reserved.
+
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions
    are met:
@@ -9,7 +9,7 @@
    2. Redistributions in binary form must reproduce the above copyright
       notice, this list of conditions and the following disclaimer in the
       documentation and/or other materials provided with the distribution.
+
    THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
index f709a1bb63e7b1f31f6b02e2b4d8c6746881ae22..9c8ab317a3cdc82b7ed03a7da61a9d790ce33ecf 100644 (file)
@@ -31,8 +31,8 @@ TEXT_START_SYMBOLS='__Stext = ADDR (.startup);'
 # The __start dance is to get us through assumptions about entry
 # symbols, and to clear _start for normal use with sane programs.
 EXECUTABLE_SYMBOLS='
-__start = DEFINED(__start) ? __start : 
-  DEFINED(_start) ? _start : 
+__start = DEFINED(__start) ? __start :
+  DEFINED(_start) ? _start :
     DEFINED(start) ? start :
       DEFINED(.startup) ? .startup + 2 : 2;
 '
@@ -98,7 +98,7 @@ CTOR_END='
 # Also add the other symbols provided for rsim/xsim and elinux.
 OTHER_SYMBOLS='
   PROVIDE (__Eall = .);
-  PROVIDE (__Endmem = 0x10000000); 
+  PROVIDE (__Endmem = 0x10000000);
   PROVIDE (__Stacksize = 0);
 '
 NO_SMALL_DATA=yes
index 8a1a5b8e5b0d4cc8616b893b3b38d71f351ac8b2..47a9c511cfe85d5e5c29c70f378b35177247775c 100644 (file)
@@ -34,7 +34,7 @@ OTHER_BSS_END_SYMBOLS='PROVIDE (__Ebss = .);'
 # Also add the other symbols provided for rsim/xsim and elinux.
 OTHER_SYMBOLS='
   PROVIDE (__Eall = .);
-  PROVIDE (__Endmem = 0x10000000); 
+  PROVIDE (__Endmem = 0x10000000);
   PROVIDE (__Stacksize = 0);
 '
 NO_SMALL_DATA=yes
index 4911081f8e899f2b4c73a71d55769a1c81d4c373..dfd64c12c47c054803657fe83ae748cfa527fb7b 100644 (file)
@@ -47,12 +47,12 @@ OTHER_READWRITE_RELOC_SECTIONS="
 case ${target} in
     *-elf)
        OTHER_BSS_SECTIONS="
-  .heap : 
-  { 
-    . = ALIGN(4); 
-    _HEAP_START = .; 
-    . += 0x2000000; 
-    _HEAP_MAX = .; 
+  .heap :
+  {
+    . = ALIGN(4);
+    _HEAP_START = .;
+    . += 0x2000000;
+    _HEAP_MAX = .;
   }
   .stack :
   {
index 12aaf72f07f76e1e192ba59c3d72d2c4fcd58c8a..514990b25738fe6ca9287e38400d22e062da5810 100644 (file)
@@ -44,7 +44,7 @@ ENTRY=__start
 OTHER_GOT_RELOC_SECTIONS="
   .rel.dyn      ${RELOCATING-0} : { *(.rel.dyn) }
 "
-# GOT-related settings.  
+# GOT-related settings.
 # If the output has a GOT section, there must be exactly 0x7ff0 bytes
 # between .got and _gp.  The ". = ." below stops the orphan code from
 # inserting other sections between the assignment to _gp and the start
index bb60d1fee34d28d8484b03cca37d1b26e3d262b8..ccb633ebe05da1dd4809365af9cf4f12941a53f6 100644 (file)
@@ -16,4 +16,4 @@ GENERATE_SHLIB_SCRIPT=yes
 GENERATE_PIE_SCRIPT=yes
 NO_SMALL_DATA=yes
 SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 12 ? 12 : 0"
-      
+
index f72fe2af4d7deb1511cf0f4bcde12788346767a4..2ebbda1bdc4708e27cf49f36fca503e5b3e9f5d0 100755 (executable)
@@ -23,7 +23,7 @@ OTHER_READONLY_SECTIONS='
   __stack_size = 0x100000;
   __stack0  = (__stack - (0 *  (__stack_size / 1)) + 15) / 16 * 16;
 
-  .rostacktab : 
+  .rostacktab :
   {
     /* Emit a table describing the location of the different stacks.
        Only 1 processor in the default configuration.  */
index 1f804473faa61de9b5f21fa8a56fe8e53a13dd89..8595e2dba432fc0fa69c1a7e6034f6ee3c9b2cb9 100644 (file)
@@ -22,4 +22,4 @@ NOP=0x80000000
 TEMPLATE_NAME=elf32
 #GENERATE_SHLIB_SCRIPT=yes
 
-    
+
index 8e1a9f3ede4b1f03323d438a0b2489e6c14623d3..c3da11593a2d39f0a8e25417b76cdb0b9eb22869 100644 (file)
@@ -1,5 +1,5 @@
 # If you change this file, please also look at files which source this one:
-# elf32lppcnto.sh elf32lppc.sh elf32ppclinux.sh elf32ppcnto.sh 
+# elf32lppcnto.sh elf32lppc.sh elf32ppclinux.sh elf32ppcnto.sh
 # elf32ppcsim.sh
 
 . ${srcdir}/emulparams/elf32ppccommon.sh
index 61d4c029588aba7b61c29c8d7c42416998baca55..98db3d3bc61b2cb00cc4fa66848d9912fa060127 100644 (file)
@@ -9,7 +9,7 @@ ARCH="s390:64-bit"
 MACHINE=
 NOP=0x07070707
 TEMPLATE_NAME=elf32
-GENERATE_SHLIB_SCRIPT=yes 
+GENERATE_SHLIB_SCRIPT=yes
 GENERATE_PIE_SCRIPT=yes
 NO_SMALL_DATA=yes
 IREL_IN_PLT=
index 82f505de69b225ecc6300b10faa36dd07aca87f3..9a275b73e658563e3d56950f1c8d3fc78639f7f9 100644 (file)
@@ -19,7 +19,7 @@ PLT=".plt          ${RELOCATING-0} : SPECIAL { *(.plt) }"
 DATA_PLT=yes
 TEXT_PLT=yes
 
-# Note that the number is always big-endian, thus we have to 
+# Note that the number is always big-endian, thus we have to
 # reverse the digit string.
 NOP=0x0000fe2f1f04ff47         # unop; nop
 
index 8f35cf3cb05fd32b292529cad4e5e01c820151fe..f2286ecc16048c6c19b00e06b7c8424a2decd2e0 100644 (file)
@@ -8,7 +8,7 @@ ARCH="s390:31-bit"
 MACHINE=
 NOP=0x07070707
 TEMPLATE_NAME=elf32
-GENERATE_SHLIB_SCRIPT=yes 
-GENERATE_PIE_SCRIPT=yes 
+GENERATE_SHLIB_SCRIPT=yes
+GENERATE_PIE_SCRIPT=yes
 NO_SMALL_DATA=yes
 IREL_IN_PLT=
index ae849e0b8b6b36c652abea95a7e8ca24bfa8177e..4842257c2926e3a7f0c3af6987ba50d2890643c2 100644 (file)
@@ -32,7 +32,7 @@ case "$target" in
       *64*) LIBPATH_SUFFIX=64 ;;
     esac
     ;;
-  *-*-solaris2*) 
+  *-*-solaris2*)
     LIBPATH_SUFFIX=/amd64
     ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\"
   ;;
index 088e9b03478489c890eff6d86b51ecbf91e3b1a0..5fce9349376b385eaa0c480b367d9a263624e26e 100644 (file)
@@ -39,7 +39,7 @@ ARCH=tic80
 #
 TEXT_START_ADDR=0x2000000
 
-# The genscripts.sh script uses this to set the default value of 
+# The genscripts.sh script uses this to set the default value of
 # DATA_ALIGNMENT when running the scripttempl script.
 #
 # SEGMENT_SIZE=
index 3f6a097f4a32b1f6c9aa9474c2d30a18e53db744..b48228a134e85368dbb202c637a9b8d3861f9495 100644 (file)
@@ -361,7 +361,7 @@ read_file_list (const char *filename)
       /* Replace end of line by nul.  */
       if (*e != '\0')
         *e++ = '\0';
-      
+
       if (b != e)
         lang_add_input_file (b, lang_input_file_is_search_file_enum, NULL);
       b = e;
index bfb9d5c4204a263446d09ba27b84b9792f569b0f..e0d6357ba18b98a292a790f24659bcfab4d710ee 100644 (file)
@@ -72,7 +72,7 @@ avr_elf_${EMULATION_NAME}_before_allocation (void)
   gld${EMULATION_NAME}_before_allocation ();
 
   /* We only need stubs for avr6, avrxmega6, and avrxmega7. */
-  if (strcmp ("${EMULATION_NAME}","avr6") 
+  if (strcmp ("${EMULATION_NAME}","avr6")
       && strcmp ("${EMULATION_NAME}","avrxmega6")
       && strcmp ("${EMULATION_NAME}","avrxmega7") )
     avr_no_stubs = TRUE;
index 9850bda6b129fe9cecc81d12911e08e60fab8845..f76b95e2dfe1753765acfca4d57b36ee37f57148 100644 (file)
@@ -87,7 +87,7 @@ cr16_elf_after_open (void)
 
          /* Double check that all other data sections are empty, as is
             required for embedded PIC code.  */
-         bfd_map_over_sections (abfd, check_sections, datasec); 
+         bfd_map_over_sections (abfd, check_sections, datasec);
        }
     }
 }
index a565eb7f78079dfbbf2054b321aa1b3d402aed28..68049a72d69606006f77f30f7c574f9f78fd9ccc 100644 (file)
@@ -261,7 +261,7 @@ fragment <<EOF
 #define OPTION_DYNAMIC_BASE            (OPTION_DISABLE_LONG_SECTION_NAMES + 1)
 #define OPTION_FORCE_INTEGRITY         (OPTION_DYNAMIC_BASE + 1)
 #define OPTION_NX_COMPAT               (OPTION_FORCE_INTEGRITY + 1)
-#define OPTION_NO_ISOLATION            (OPTION_NX_COMPAT + 1) 
+#define OPTION_NO_ISOLATION            (OPTION_NX_COMPAT + 1)
 #define OPTION_NO_SEH                  (OPTION_NO_ISOLATION + 1)
 #define OPTION_NO_BIND                 (OPTION_NO_SEH + 1)
 #define OPTION_WDM_DRIVER              (OPTION_NO_BIND + 1)
@@ -1204,7 +1204,7 @@ pr_sym (struct bfd_hash_entry *h, void *inf ATTRIBUTE_UNUSED)
 }
 #endif /* DLL_SUPPORT */
 
-static void 
+static void
 debug_section_p (bfd *abfd ATTRIBUTE_UNUSED, asection *sect, void *obj)
 {
   int *found = (int *) obj;
index fc3cdc39431fe5696d589d6b0d69d6f0d61dca5c..12b7598bf5ec8ec79f1277c77a69720c0cce50fa 100644 (file)
@@ -773,7 +773,7 @@ gld${EMULATION_NAME}_handle_option (int optc)
 
   /*  Set DLLCharacteristics bits  */
   set_pep_name ("__dll_characteristics__", pe_dll_characteristics);
+
   return TRUE;
 }
 \f
@@ -892,7 +892,7 @@ gld_${EMULATION_NAME}_after_parse (void)
       "targets, did you mean --export-all-symbols?\n"));
 
   set_entry_point ();
-  
+
   after_parse_default ();
 }
 
@@ -1136,7 +1136,7 @@ pr_sym (struct bfd_hash_entry *h, void *inf ATTRIBUTE_UNUSED)
 }
 #endif /* DLL_SUPPORT */
 
-static void 
+static void
 debug_section_p (bfd *abfd ATTRIBUTE_UNUSED, asection *sect, void *obj)
 {
   int *found = (int *) obj;
index 1b356122334421ac2067078063497ee7c8e7929f..e14fa2637d8138b666ee436fa346b3da9a567579 100644 (file)
@@ -43,7 +43,7 @@ static struct spu_elf_params params =
   1, 0, 16, 0, 0, 2000
 };
 
-static unsigned int no_overlays = 0;  
+static unsigned int no_overlays = 0;
 static unsigned int num_lines_set = 0;
 static unsigned int line_size_set = 0;
 static char *auto_overlay_file = 0;
@@ -551,7 +551,7 @@ embedded_spu_file (lang_input_statement_type *entry, const char *flags)
          pex_return = pex_one (PEX_SEARCH | PEX_LAST, cmd[0], (char *const *) cmd,
                                cmd[0], NULL, NULL, &status, &errno);
        }
-      if (NULL != pex_return) {      
+      if (NULL != pex_return) {
        perror (pex_return);
        _exit (127);
       }
index 87d3b3571f03a7e3a77466893522b1247bbfeca5..01923b3f159fed98b7d2fd63b81c465fd2e5f28c 100644 (file)
@@ -75,19 +75,19 @@ compare_output_sec_vma (const void *a, const void *b)
   asection *asec = *(asection **) a, *bsec = *(asection **) b;
   asection *aout = asec->output_section, *bout = bsec->output_section;
   bfd_vma avma, bvma;
-  
+
   /* If there's no output section for some reason, compare equal.  */
   if (!aout || !bout)
     return 0;
-  
+
   avma = aout->vma + asec->output_offset;
   bvma = bout->vma + bsec->output_offset;
-  
+
   if (avma > bvma)
     return 1;
   else if (avma < bvma)
     return -1;
-  
+
   return 0;
 }
 
@@ -109,10 +109,10 @@ gld${EMULATION_NAME}_after_allocation (void)
        {
          bfd *abfd = is->the_bfd;
          asection *sec;
-         
+
          if ((abfd->flags & (EXEC_P | DYNAMIC)) != 0)
            continue;
-         
+
          for (sec = abfd->sections; sec != NULL; sec = sec->next)
            {
              asection *out_sec = sec->output_section;
@@ -128,7 +128,7 @@ gld${EMULATION_NAME}_after_allocation (void)
                  if (sec_count == list_size)
                    {
                      list_size *= 2;
-                     sec_list = (asection **) 
+                     sec_list = (asection **)
                           xrealloc (sec_list, list_size * sizeof (asection *));
                    }
 
@@ -136,13 +136,13 @@ gld${EMULATION_NAME}_after_allocation (void)
                }
            }
        }
-       
+
       qsort (sec_list, sec_count, sizeof (asection *), &compare_output_sec_vma);
-      
+
       if (elf32_tic6x_fix_exidx_coverage (sec_list, sec_count, &link_info,
                                           merge_exidx_entries))
        layout_changed = 1;
-      
+
       free (sec_list);
     }
 
index 5f4e9747e2691548fdbf621f79501d372545d50b..ae3919b5502a762d13cecd15f4b6d4678928b97e 100644 (file)
@@ -312,7 +312,7 @@ fold_binary (etree_type *tree)
       /* Check to see if the user has overridden the default
         value.  */
       segment_name = tree->binary.rhs->name.name;
-      for (seg = segments; seg; seg = seg->next) 
+      for (seg = segments; seg; seg = seg->next)
        if (strcmp (seg->name, segment_name) == 0)
          {
            if (!seg->used
@@ -697,7 +697,7 @@ fold_name (etree_type *tree)
                       / bfd_octets_per_byte (link_info.output_bfd));
              else
                val = (bfd_vma)1 << os->bfd_section->alignment_power;
-             
+
              new_number (val);
            }
          else
@@ -708,11 +708,11 @@ fold_name (etree_type *tree)
     case LENGTH:
       {
         lang_memory_region_type *mem;
-        
-        mem = lang_memory_region_lookup (tree->name.name, FALSE);  
-        if (mem != NULL) 
+
+        mem = lang_memory_region_lookup (tree->name.name, FALSE);
+        if (mem != NULL)
           new_number (mem->length);
-        else          
+        else
           einfo (_("%F%S: undefined MEMORY region `%s'"
                   " referenced in expression\n"),
                 tree, tree->name.name);
@@ -723,11 +723,11 @@ fold_name (etree_type *tree)
       if (expld.phase != lang_first_phase_enum)
        {
          lang_memory_region_type *mem;
-        
-         mem = lang_memory_region_lookup (tree->name.name, FALSE);  
-         if (mem != NULL) 
+
+         mem = lang_memory_region_lookup (tree->name.name, FALSE);
+         if (mem != NULL)
            new_rel_from_abs (mem->origin);
-         else          
+         else
            einfo (_("%F%S: undefined MEMORY region `%s'"
                     " referenced in expression\n"),
                   tree, tree->name.name);
index d5ea8d20e34c9c4697d0aa14b4af09d2df8f0d20..00e37578d5b09011e5c39204f06e0d03d525127b 100644 (file)
@@ -162,9 +162,9 @@ typedef struct lang_output_section_statement_struct
   unsigned int processed_lma : 1;
   unsigned int all_input_readonly : 1;
   /* If this section should be ignored.  */
-  unsigned int ignored : 1; 
+  unsigned int ignored : 1;
   /* If this section should update "dot".  Prevents section being ignored.  */
-  unsigned int update_dot : 1; 
+  unsigned int update_dot : 1;
   /* If this section is after assignment to _end.  */
   unsigned int after_end : 1;
 } lang_output_section_statement_type;
index ca1896ff1c04ed80fe1ca5bf7706b22e81e7a98f..2569bcc6712675e967b52201ee437af57dde80cf 100644 (file)
@@ -304,7 +304,7 @@ vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning)
 
                /* The GNU Coding Standard requires that error messages
                   be of the form:
-                  
+
                     source-file-name:lineno: message
 
                   We do not always have a line number available so if
index c6f6e9c5e61e8ec0d58cd0aca0fae52580a34bd4..aad085090e5491a05d7c4cce4ea40d77dcc59baa 100644 (file)
@@ -338,7 +338,7 @@ clone_section (bfd *abfd, asection *s, const char *name, int *count)
 {
   char *tname;
   char *sname;
-  unsigned int len;    
+  unsigned int len;
   asection *n;
   struct bfd_link_hash_entry *h;
 
index 31beac828dc3ede2207decb0c053b38ae302cf69..76a1ce3d256523970c6c1b2e0ad7d7cd10c1c380 100644 (file)
@@ -2844,7 +2844,7 @@ pe_find_cdecl_alias_match (struct bfd_link_info *linfo, char *name)
   struct key_value *kv;
   struct key_value key;
   char *at, *lname = (char *) alloca (strlen (name) + 3);
-  
+
   strcpy (lname, name);
 
   at = strchr (lname + (lname[0] == '@'), '@');
@@ -2925,7 +2925,7 @@ pe_find_cdecl_alias_match (struct bfd_link_info *linfo, char *name)
       if (h->type == bfd_link_hash_undefined)
         return h;
     }
-  
+
   return NULL;
 }