Re: [RFC] /proc/ksyms change for IA64

Rusty Russell
2001-08-05T06:18:16Z

In message <22165.996722560@kao2.melbourne.sgi.com> you write:
> The IA64 use of descriptors for function pointers has bitten ksymoops.
> For those not familiar with IA64, &func points to a descriptor
> containing { &code, &data_context }. System.map contains the address
> of the code, /proc/ksyms contains the address of the descriptor.
> insmod needs the descriptor address, ksymoops and debuggers need the
> code address, /proc/ksyms needs to contain both addresses, with one of
> them prefixed by a special character.

Eewwww....

How about just adding /proc/ksyms-ia64 with the code pointers
which contains the ia64 code addresses required by ksymoops and
debuggers. These are, after all, less vital than insmod.

Cheers,
Rusty.
--
Premature optmztion is rt of all evl. --DK