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]

fix names of Xtensa property sections


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.

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

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