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: weak-dyn test fails on PowerPC


On Wed, Aug 29, 2007 at 05:30:15PM -0400, Daniel Jacobowitz wrote:
> The test has:
> 
> SECTIONS
> {
>   . = 0x800000;
>   PROVIDE (bar = .);
>   .data : {
>     *(.data)
>   }
> }
> 
> But the PowerPC linker is placing orphans after the assignment to dot.
> So .hash and others end up between bar and .data.  The test fails
> because the dump file checks r_offset precisely.
> 
> I think that r_offset does not matter to what we're trying to test
> here and we could allow any offset as long as the relocation is
> against foo.  Is that right?

Where is the offset check? I only saw

---
#...
.* foo.*
#pass
---

in weak-dyn-1.rd.


H.J.


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