Hello,
request: make POLINK support NONAME parameter for exports,
to allow exports without names, so they can only be imported by number.
syntax in .DEF file is (MS link):
EXPORTS
export1 @1 NONAME
Regards
Japheth
Hello,
Quote from: "japheth"request: make POLINK support NONAME parameter for exports,
to allow exports without names, so they can only be imported by number.
Yes, maybe. I have seen some discussions about if this is "safe" or not, when the ordinals gets out-of-sync, but maybe let the programmer decide when to use it...
Pelle
Thanks for responding,
It's not that big a problem. If it is too much work, please forget the request.
I tried to build a pretty large project (hx dos extender) with non-MS tools and replaced the MS coff linker by polink, which then had 2 or 3 problems, among them this "NONAME" issue. But why not giving these exports some fantasy names, as long as the export numbers are correct.
Regards
Japheth
I will have to do some research, but it shouldn't be too difficult. Any change should also affect POLIB (and possibly PODUMP), which means a bigger job, but as I said, shouldn't be too difficult...
Pelle
Pelle,
if you decide it is too much to be done, then it might be possible to just ignore/skip the NONAME attribute (or, if this is too rude, display a warning that's its not supported [yet]), but not to terminate the link process.
Japheth