public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch] fix typos in bfd/elf32-arm.c
@ 2005-06-01 22:32 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2005-06-01 22:32 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 102 bytes --]

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

[-- Attachment #2: bfd-arm32-touchups.patch --]
[-- Type: text/x-diff, Size: 688 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-01 22:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-01 22:32 [patch] fix typos in bfd/elf32-arm.c Mike Frysinger

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).