[parisc-linux] init and exit text problem

Randolph Chung tausq at debian.org
Fri Jan 16 13:14:55 MST 2004


> I'm not sure we can actually do this, though...I seem to remember that
> our 64 bit toolchain is not too happy doing discard sections.

Bugs not withstanding, it does seem to work. We have this in the linker
script already for a while:

#ifdef CONFIG_PARISC64
  /* temporary hack until binutils is fixed to not emit these
     for static binaries */
  /DISCARD/ : {
    *(.dynsym)
    *(.dynstr)
    *(.dynamic)
    *(.hash)
  }
#endif

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/


More information about the parisc-linux mailing list