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]

Re: [Gcl-devel] Re: ld from 2.14.90.0.8 puts no value into undefined symbols


Greetings!

Just a followup on applying your
bfd_simple_get_relocated_section_contents suggestion to the alpha.  It
basically works once I call _bfd_set_gp_value to set the module's bfd
gp to the actual running gp register value.  I think I'm not quite
flushing the data and instruction caches properly before running the
newly loaded and relocated code.

I've looked in the glibc source, sysdeps/alpha/dl-machine.h, and also
a bit in the Linux kernel asm specific to the alpha.  In know at least
that imb is needed (synchronize data and instruction caches), and this
lets the loaded module execute without error.  Some of the data which
is supposed to be produced by this execution is not being reliably
initialized.  I'm wondering if you might have a pointer, as I know
you've helped me with this issue on ppc32 in the past.

Take care,


Daniel Jacobowitz <drow@false.org> writes:

> On Wed, Mar 03, 2004 at 01:41:25PM -0500, Camm Maguire wrote:
> > Nuts.  Here is the result on ia64:
> > 
> > Loading ../tkl.o
> > BFD: BFD 2.14.90.0.7 20031029 Debian GNU/Linux internal error, aborting at ../../bfd/reloc.c line 4210 in bfd_generic_get_relocated_section_contents
> > 
> > BFD: Please report this bug.
> 
> Make a testcase, submit a bug report :)
> 	http://sources.redhat.com/bugzilla/
> 
> -- 
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer
> 
> 
> 

-- 
Camm Maguire			     			camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah


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