public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [Patch]: Fix a typo in coff/rs6000.h
@ 2011-04-28 13:33 Tristan Gingold
  2011-05-03  8:14 ` Richard Sandiford
  0 siblings, 1 reply; 3+ messages in thread
From: Tristan Gingold @ 2011-04-28 13:33 UTC (permalink / raw)
  To: binutils Development

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];

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-03  9:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-28 13:33 [Patch]: Fix a typo in coff/rs6000.h Tristan Gingold
2011-05-03  8:14 ` Richard Sandiford
2011-05-03  9:22   ` Tristan Gingold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).