This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch]: Fix a typo in coff/rs6000.h


Hi,

as struct external_ldsym defines an external structure, E_* macros should be used.

Ok for trunk ?

Tristan.

include/coff
2011-04-28  Tristan Gingold  <gingold@adacore.com>

	* rs6000.h (struct external_ldsym): Use E_SYMNMLEN instead of
	SYMNMLEN.

diff --git a/include/coff/rs6000.h b/include/coff/rs6000.h
index 4d431df..960dd32 100644
--- a/include/coff/rs6000.h
+++ b/include/coff/rs6000.h
@@ -250,7 +250,7 @@ struct external_ldsym
 {
   union
     {
-      bfd_byte _l_name[SYMNMLEN];
+      bfd_byte _l_name[E_SYMNMLEN];
       struct
        {
          bfd_byte _l_zeroes[4];


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]