This is the mail archive of the binutils@sourceware.org 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 script-type test failure on ARM


I've checked in this obvious patch to fix script-type; it was failing
because there was now a $d symbol at the start of .ARM.attributes.

-- 
Daniel Jacobowitz
CodeSourcery

2010-03-04  Daniel Jacobowitz  <dan@codesourcery.com>

	* elf32-arm.c (elf32_arm_output_arch_local_syms): Skip non-program
	sections.

Index: elf32-arm.c
===================================================================
--- elf32-arm.c	(revision 277712)
+++ elf32-arm.c	(working copy)
@@ -13182,6 +13182,8 @@ elf32_arm_output_arch_local_syms (bfd *o
 	     osi.sec = osi.sec->next)
 	  {
 	    if (osi.sec->output_section != NULL
+		&& ((osi.sec->output_section->flags & (SEC_ALLOC | SEC_CODE))
+		    != 0)
 		&& (osi.sec->flags & (SEC_HAS_CONTENTS | SEC_LINKER_CREATED))
 		   == SEC_HAS_CONTENTS
 		&& get_arm_elf_section_data (osi.sec) != NULL


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