tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: link-sets in modules



On Tue, 29 May 2012, Matt Thomas wrote:

Modules that are loaded by the run-time linker _do_ have the above
info, but do not have the symbols.

It could if the kernel loader did what ld did.  create
__{start,stop}_xxxx for each section.


Yeah, that would be nice. But the module linker script doesn't do the PROVIDE()

I suppose the kernel loader could fabricate an extra elf symbol table for all __link_set_* program sections...


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index