On Jul 9, 2009, at 11:15 PM, Alan Modra wrote:

On Thu, Jul 09, 2009 at 02:31:53PM -0500, Edmar Wienskoski-RA8797 wrote:
I understand your arguments, but there is something inconsistent about this.
If I change the script to be:
      _end3 = . ;
      . = _end3;
      . = ALIGN(PAGE_SIZE);
      _end = . ;
      PROVIDE32 (end = .);
}
The result is corrected:
c067f678 A _end3
c0680000 A _end

Why the apuinfo section with zero VMA sometimes interfere with "." and
sometimes not ?

I said it was weird in my last email.  Not so.  The orphan gets placed
between

      _end3 = . ;
      . = _end3;

So dot is restored after the orphan section sets it.

This seems to be a bit of a chick and egg scenario. Older kernel linker scripts aren't going to cover all sections and thus may have orphan sections. How do we ensure _end can be set properly under such conditions?

- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to