NO

Author Topic: POLINK supporting NONAME parameter for exports  (Read 4097 times)

japheth

  • Guest
POLINK supporting NONAME parameter for exports
« on: March 09, 2006, 09:49:23 PM »
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

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: POLINK supporting NONAME parameter for exports
« Reply #1 on: March 09, 2006, 10:07:03 PM »
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
/Pelle

japheth

  • Guest
POLINK supporting NONAME parameter for exports
« Reply #2 on: March 09, 2006, 11:06:17 PM »
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

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
POLINK supporting NONAME parameter for exports
« Reply #3 on: March 10, 2006, 06:27:56 PM »
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

japheth

  • Guest
POLINK supporting NONAME parameter for exports
« Reply #4 on: March 12, 2006, 01:55:17 PM »
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