[patch]: pep.em obvious fix

Kai Tietz ktietz70@googlemail.com
Fri May 14 18:52:00 GMT 2010


Hello,

in pep.em I did an obvious transition failure on changing logic from
(1,-1) treating as underscoring to 1 == underscoring.

ChangeLog

* emultempl/pep.em (U_SIZE): Correct size for underscoring.

Index: pep.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/pep.em,v
retrieving revision 1.35
diff -u -3 -r1.35 pep.em
--- pep.em      11 May 2010 17:46:22 -0000      1.35
+++ pep.em      14 May 2010 18:49:12 -0000
@@ -306,7 +306,7 @@
 /* Get size of constant string for a possible underscore prefixed
    C visible symbol.  */
 #define U_SIZE(CSTR) \
-  (sizeof (CSTR) + pep_leading_underscore == 1 ? 0 : 1)
+  (sizeof (CSTR) + pep_leading_underscore != 1 ? 0 : 1)

 #define D(field,symbol,def,usc)  {&pep.field,sizeof(pep.field), def,
symbol,0, usc}

Ok, for apply?

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination



More information about the Binutils mailing list