This is the mail archive of the binutils@sources.redhat.com 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 ping] fix typos in bfd/elf32-arm.c


just fixes a few typos and brings arm a little more inline with other arches 
like i386 and ppc

also, to follow up the 'Please post patches to the mailing list', should i 
just keep sending patches to binutils@sources.redhat.com and nowhere else, or 
should they be mirrored on bug-binutils / bugzilla ?
-mike
2005-06-01   Peter S. Mazinger <ps.m@gmx.net>

	* bfd/elf32-arm.c: Fix a typo and touchup logic like i386/ppc.

--- bfd/elf32-arm.c
+++ bfd/elf32-arm.c
@@ -5926,9 +5926,9 @@
 	 dynamic linker and used by the debugger.  */
 #define add_dynamic_entry(TAG, VAL) \
   _bfd_elf_add_dynamic_entry (info, TAG, VAL)
 
-      if (!info->shared)
+      if (info->executable)
 	{
 	  if (!add_dynamic_entry (DT_DEBUG, 0))
 	    return FALSE;
 	}
@@ -5959,12 +5959,11 @@
       if ((info->flags & DF_TEXTREL) != 0)
 	{
 	  if (!add_dynamic_entry (DT_TEXTREL, 0))
 	    return FALSE;
-	  info->flags |= DF_TEXTREL;
 	}
     }
-#undef add_synamic_entry
+#undef add_dynamic_entry
 
   return TRUE;
 }
 

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