This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [RFC] use symbol_ref flags for rs6000


The problem is that darwin_encode_section_info does not call default_encode_section_info or set the flag SYMBOL_FLAG_FUNCTION.
either this patch which just set the SYMBOL_FLAG_FUNCTION for the sym_ref or call default_encode_section_info.



ChangeLog:


2003-04-30 Andrew Pinski <pinskia@physics.uc.edu>
* config/darwin.c (darwin_encode_section_info) set SYMBOL_FLAG_FUNCTION if
sym_ref is a function.



Attachment: temp.diff
Description: Binary data




Thanks, Andrew Pinski

On Wednesday, Apr 30, 2003, at 19:10 US/Eastern, Stan Shebs wrote:

David Edelsohn wrote:

Janis Johnson writes:


Janis> Should I remove the assertion that is failing for Darwin, or revert
Janis> the patch, or will there be a fix to Darwin soon that sets the flags?


	Stan and I have a handle on the problem and a proposed fix.  He'll
commit the patch once he does some more testing.

Alas, I was mistaken when I thought it was working - was looking at
the wrong build.  But I'm now sitting in GDB poking at it, and
as we know no problem can resist the power of GDB for long. :-)

Stan





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