public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* fix names of Xtensa property sections
@ 2005-05-14  1:50 Bob Wilson
  0 siblings, 0 replies; only message in thread
From: Bob Wilson @ 2005-05-14  1:50 UTC (permalink / raw)
  To: binutils

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

My big change to the Xtensa port on 2004-10-07 introduced a bug in the naming of 
Xtensa property sections.  I'm committing this patch to fix it on both the 
mainline and 2.16 branches.

2005-05-13  Bob Wilson  <bob.wilson@acm.org>

	* elf32-xtensa.c (xtensa_get_property_section_name): Add missing
	periods in linkonce_kind values.


[-- Attachment #2: bfd-prop-sec-names.patch --]
[-- Type: text/x-patch, Size: 703 bytes --]

Index: elf32-xtensa.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-xtensa.c,v
retrieving revision 1.47
diff -u -p -r1.47 elf32-xtensa.c
--- elf32-xtensa.c	7 May 2005 13:22:51 -0000	1.47
+++ elf32-xtensa.c	14 May 2005 00:23:14 -0000
@@ -9338,9 +9338,9 @@ xtensa_get_property_section_name (asecti
       char *linkonce_kind = 0;
 
       if (strcmp (base_name, XTENSA_INSN_SEC_NAME) == 0) 
-	linkonce_kind = "x";
+	linkonce_kind = "x.";
       else if (strcmp (base_name, XTENSA_LIT_SEC_NAME) == 0) 
-	linkonce_kind = "p";
+	linkonce_kind = "p.";
       else if (strcmp (base_name, XTENSA_PROP_SEC_NAME) == 0)
 	linkonce_kind = "prop.";
       else

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

only message in thread, other threads:[~2005-05-14  0:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-14  1:50 fix names of Xtensa property sections Bob Wilson

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