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]

Re: Set bfd_com_section on all common syms.


On Wed, Nov 16, 2005 at 12:19:39PM +1030, Alan Modra wrote:
> I missed some places that deal with common syms and need a segment
> to be set.

Another.

	* config/tc-hppa.c (pa_comm): Set bfd_com_section segment.

Index: gas/config/tc-hppa.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-hppa.c,v
retrieving revision 1.127
diff -u -p -r1.127 tc-hppa.c
--- gas/config/tc-hppa.c	7 Nov 2005 18:53:10 -0000	1.127
+++ gas/config/tc-hppa.c	16 Nov 2005 06:11:01 -0000
@@ -6400,7 +6400,7 @@ pa_comm (unused)
     {
       symbol_get_bfdsym (symbol)->flags |= BSF_OBJECT;
       S_SET_VALUE (symbol, size);
-      S_SET_SEGMENT (symbol, bfd_und_section_ptr);
+      S_SET_SEGMENT (symbol, bfd_com_section_ptr);
       S_SET_EXTERNAL (symbol);
 
       /* colon() has already set the frag to the current location in the

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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