t_nwm.pas 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Peter Vreman
  4. This unit implements support import,export,link routines
  5. for the (i386) Netware target
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17. Currently generating NetWare-NLM's only work under Linux and win32.
  18. (see http://home.arcor.de/armin.diehl/fpcnw for binutils working
  19. with win32) while not included in fpc-releases.
  20. The following compiler-swiches are supported for NetWare:
  21. $DESCRIPTION : NLM-Description, will be displayed at load-time
  22. $M : For Stack-Size, Heap-Size will be ignored
  23. 32K is the accepted minimum
  24. $VERSION x.x.x : Sets Major, Minor and Revision
  25. $SCREENNAME : Sets the ScreenName
  26. $THREADNAME : Sets current threadname
  27. Displaying copyright does not work with nlmconv from gnu bunutils
  28. version less that 2.13
  29. Additional parameters for the nlmvonv-inputfile can be passed with
  30. -k, i.e. -kREENTRANT will add the option REENTRANT to the nlmconv
  31. inputfile. A ; will be converted into a newline
  32. Exports will be handled like in win32:
  33. procedure bla;
  34. begin
  35. end;
  36. exports foo name 'Bar';
  37. The path to the import-Files must be specified by the library-path.
  38. All external modules are defined as autoload. (Note: the import-files have
  39. to be in unix-format for exe2nlm)
  40. By default, the most import files are included in freepascal.
  41. i.e. Procedure ConsolePrintf (p:pchar); cdecl; external 'clib.nlm';
  42. sets IMPORT @clib.imp and MODULE clib.
  43. Function simply defined as external work without generating autoload but
  44. you will get a warnung from nlmconv.
  45. If you dont have nlmconv, compile gnu-binutils with
  46. ./configure --enable-targets=i386-linux,i386-netware
  47. make all
  48. Debugging is possible with gdb and a converter from gdb to ndi available
  49. at http://home.arcor.de/armin.diehl/gdbnw
  50. A sample program:
  51. Program Hello;
  52. (*$DESCRIPTION HelloWorldNlm*)
  53. (*$VERSION 1.2.3*)
  54. (*$ScreenName Hello*)
  55. (*$M 60000,60000*)
  56. begin
  57. writeLn ('hello world');
  58. end.
  59. compile with:
  60. ppc386 -Tnetware hello
  61. ToDo:
  62. - No duplicate imports and autoloads
  63. - libc support (needs new target)
  64. ****************************************************************************
  65. }
  66. unit t_nwm;
  67. {$i fpcdefs.inc}
  68. interface
  69. implementation
  70. uses
  71. cutils,
  72. verbose,systems,globtype,globals,
  73. symconst,script,
  74. fmodule,aasmbase,aasmtai,aasmcpu,cpubase,symsym,symdef,
  75. import,export,link,i_nwm
  76. {$ifdef netware} ,dos {$endif}
  77. ;
  78. type
  79. timportlibnetware=class(timportlib)
  80. procedure preparelib(const s:string);override;
  81. procedure importprocedure(aprocdef:tprocdef;const module:string;index:longint;const name:string);override;
  82. procedure importvariable(vs:tglobalvarsym;const name,module:string);override;
  83. procedure generatelib;override;
  84. end;
  85. texportlibnetware=class(texportlib)
  86. procedure preparelib(const s : string);override;
  87. procedure exportprocedure(hp : texported_item);override;
  88. procedure exportvar(hp : texported_item);override;
  89. procedure generatelib;override;
  90. end;
  91. tlinkernetware=class(texternallinker)
  92. private
  93. NLMConvLinkFile: TLinkRes; {for second pass, fist pass is ld}
  94. Function WriteResponseFile(isdll:boolean) : Boolean;
  95. public
  96. constructor Create;override;
  97. procedure SetDefaultInfo;override;
  98. function MakeExecutable:boolean;override;
  99. end;
  100. Const tmpLinkFileName = 'link~tmp._o_';
  101. minStackSize = 32768;
  102. {*****************************************************************************
  103. TIMPORTLIBNETWARE
  104. *****************************************************************************}
  105. procedure timportlibnetware.preparelib(const s : string);
  106. begin
  107. end;
  108. procedure timportlibnetware.importprocedure(aprocdef:tprocdef;const module:string;index:longint;const name:string);
  109. begin
  110. { insert sharedlibrary }
  111. current_module.linkothersharedlibs.add(SplitName(module),link_allways);
  112. end;
  113. procedure timportlibnetware.importvariable(vs:tglobalvarsym;const name,module:string);
  114. begin
  115. { insert sharedlibrary }
  116. current_module.linkothersharedlibs.add(SplitName(module),link_allways);
  117. { reset the mangledname and turn off the dll_var option }
  118. vs.set_mangledname(name);
  119. exclude(vs.varoptions,vo_is_dll_var);
  120. end;
  121. procedure timportlibnetware.generatelib;
  122. begin
  123. end;
  124. {*****************************************************************************
  125. TEXPORTLIBNETWARE
  126. *****************************************************************************}
  127. procedure texportlibnetware.preparelib(const s:string);
  128. begin
  129. end;
  130. procedure texportlibnetware.exportprocedure(hp : texported_item);
  131. var
  132. hp2 : texported_item;
  133. begin
  134. { first test the index value }
  135. if (hp.options and eo_index)<>0 then
  136. begin
  137. Comment(V_Error,'can''t export with index under netware');
  138. exit;
  139. end;
  140. { use pascal name is none specified }
  141. if (hp.options and eo_name)=0 then
  142. begin
  143. hp.name:=stringdup(hp.sym.name);
  144. hp.options:=hp.options or eo_name;
  145. end;
  146. { now place in correct order }
  147. hp2:=texported_item(current_module._exports.first);
  148. while assigned(hp2) and
  149. (hp.name^>hp2.name^) do
  150. hp2:=texported_item(hp2.next);
  151. { insert hp there !! }
  152. if assigned(hp2) and (hp2.name^=hp.name^) then
  153. begin
  154. { this is not allowed !! }
  155. Message1(parser_e_export_name_double,hp.name^);
  156. exit;
  157. end;
  158. if hp2=texported_item(current_module._exports.first) then
  159. current_module._exports.insert(hp)
  160. else if assigned(hp2) then
  161. begin
  162. hp.next:=hp2;
  163. hp.previous:=hp2.previous;
  164. if assigned(hp2.previous) then
  165. hp2.previous.next:=hp;
  166. hp2.previous:=hp;
  167. end
  168. else
  169. current_module._exports.concat(hp);
  170. end;
  171. procedure texportlibnetware.exportvar(hp : texported_item);
  172. begin
  173. hp.is_var:=true;
  174. exportprocedure(hp);
  175. end;
  176. procedure texportlibnetware.generatelib;
  177. var
  178. hp2 : texported_item;
  179. begin
  180. hp2:=texported_item(current_module._exports.first);
  181. while assigned(hp2) do
  182. begin
  183. if (not hp2.is_var) and
  184. (hp2.sym.typ=procsym) then
  185. begin
  186. { the manglednames can already be the same when the procedure
  187. is declared with cdecl }
  188. if tprocsym(hp2.sym).first_procdef.mangledname<>hp2.name^ then
  189. begin
  190. {$ifdef i386}
  191. { place jump in codesegment }
  192. codesegment.concat(Tai_align.Create_op(4,$90));
  193. codeSegment.concat(Tai_symbol.Createname_global(hp2.name^,AT_FUNCTION,0));
  194. codeSegment.concat(Taicpu.Op_sym(A_JMP,S_NO,objectlibrary.newasmsymbol(tprocsym(hp2.sym).first_procdef.mangledname,AB_EXTERNAL,AT_FUNCTION)));
  195. codeSegment.concat(Tai_symbol_end.Createname(hp2.name^));
  196. {$endif i386}
  197. end;
  198. end
  199. else
  200. //Comment(V_Error,'Exporting of variables is not supported under netware');
  201. Message1(parser_e_no_export_of_variables_for_target,'netware');
  202. hp2:=texported_item(hp2.next);
  203. end;
  204. end;
  205. {*****************************************************************************
  206. TLINKERNETWARE
  207. *****************************************************************************}
  208. Constructor TLinkerNetware.Create;
  209. begin
  210. Inherited Create;
  211. end;
  212. procedure TLinkerNetware.SetDefaultInfo;
  213. begin
  214. with Info do
  215. begin
  216. {$ifndef netware}
  217. ExeCmd[1]:= FindUtil(utilsprefix+'ld') + ' -Ur -T $RES $STRIP -o $TMPOBJ';
  218. ExeCmd[2]:= FindUtil(utilsprefix+'nlmconv') + ' -T$RES';
  219. {$else}
  220. {for running on netware we need absolute pathes since ld has another working directory}
  221. ExeCmd[1]:= FindUtil(utilsprefix+'ld') + ' -Ur -T '+FExpand(outputexedir+Info.ResName)+' $STRIP -o '+Fexpand(outputexedir+tmpLinkFileName);
  222. ExeCmd[2]:= FindUtil(utilsprefix+'nlmconv') + ' -T'+FExpand(outputexedir+'n'+Info.ResName);
  223. {$endif}
  224. end;
  225. end;
  226. Function TLinkerNetware.WriteResponseFile(isdll:boolean) : Boolean;
  227. Var
  228. linkres : TLinkRes;
  229. i : longint;
  230. s,s2,s3 : string;
  231. ProgNam : string [80];
  232. NlmNam : string [80];
  233. hp2 : texported_item; { for exports }
  234. p : byte;
  235. begin
  236. WriteResponseFile:=False;
  237. ProgNam := current_module.exefilename^;
  238. i:=Pos(target_info.exeext,ProgNam);
  239. if i>0 then
  240. Delete(ProgNam,i,255);
  241. NlmNam := ProgNam + target_info.exeext;
  242. { Open link.res file }
  243. LinkRes:=TLinkRes.Create(outputexedir+Info.ResName); {for ld}
  244. NLMConvLinkFile:=TLinkRes.Create(outputexedir+'n'+Info.ResName); {for nlmconv, written in CreateExeFile}
  245. p := Pos ('"', Description);
  246. while (p > 0) do
  247. begin
  248. delete (Description,p,1);
  249. p := Pos ('"', Description);
  250. end;
  251. if Description <> '' then
  252. NLMConvLinkFile.Add('DESCRIPTION "' + Description + '"');
  253. NLMConvLinkFile.Add('VERSION '+tostr(dllmajor)+','+tostr(dllminor)+','+tostr(dllrevision));
  254. p := Pos ('"', nwscreenname);
  255. while (p > 0) do
  256. begin
  257. delete (nwscreenname,p,1);
  258. p := Pos ('"', nwscreenname);
  259. end;
  260. p := Pos ('"', nwthreadname);
  261. while (p > 0) do
  262. begin
  263. delete (nwthreadname,p,1);
  264. p := Pos ('"', nwthreadname);
  265. end;
  266. p := Pos ('"', nwcopyright);
  267. while (p > 0) do
  268. begin
  269. delete (nwcopyright,p,1);
  270. p := Pos ('"', nwcopyright);
  271. end;
  272. if nwscreenname <> '' then
  273. NLMConvLinkFile.Add('SCREENNAME "' + nwscreenname + '"');
  274. if nwthreadname <> '' then
  275. NLMConvLinkFile.Add('THREADNAME "' + nwthreadname + '"');
  276. if nwcopyright <> '' then
  277. NLMConvLinkFile.Add('COPYRIGHT "' + nwcopyright + '"');
  278. if stacksize < minStackSize then stacksize := minStackSize;
  279. str (stacksize, s);
  280. NLMConvLinkFile.Add ('STACKSIZE '+s);
  281. {$ifndef netware}
  282. NLMConvLinkFile.Add ('INPUT '+outputexedir+tmpLinkFileName);
  283. {$else}
  284. NLMConvLinkFile.Add ('INPUT '+FExpand(outputexedir+tmpLinkFileName));
  285. {$endif}
  286. { add objectfiles, start with nwpre always }
  287. LinkRes.Add ('INPUT(');
  288. s2 := FindObjectFile('nwpre','',false);
  289. Comment (V_Debug,'adding Object File '+s2);
  290. {$ifndef netware} LinkRes.Add (s2); {$else} LinkRes.Add (FExpand(s2)); {$endif}
  291. { main objectfiles, add to linker input }
  292. while not ObjectFiles.Empty do
  293. begin
  294. s:=ObjectFiles.GetFirst;
  295. if s<>'' then
  296. begin
  297. s2 := FindObjectFile (s,'',false);
  298. Comment (V_Debug,'adding Object File '+s2);
  299. {$ifndef netware} LinkRes.Add (s2); {$else} LinkRes.Add (FExpand(s2)); {$endif}
  300. end;
  301. end;
  302. LinkRes.Add (')');
  303. { output file (nlm), add to nlmconv }
  304. {$ifndef netware}
  305. NLMConvLinkFile.Add ('OUTPUT ' + NlmNam);
  306. {$else}
  307. NLMConvLinkFile.Add ('OUTPUT ' + FExpand(NlmNam));
  308. {$endif}
  309. { start and stop-procedures }
  310. NLMConvLinkFile.Add ('START _Prelude'); { defined in rtl/netware/nwpre.as }
  311. NLMConvLinkFile.Add ('EXIT _Stop'); { nwpre.as }
  312. NLMConvLinkFile.Add ('CHECK FPC_NW_CHECKFUNCTION'); { system.pp }
  313. if not (cs_link_strip in aktglobalswitches) then
  314. begin
  315. NLMConvLinkFile.Add ('DEBUG');
  316. Comment(V_Debug,'DEBUG');
  317. end;
  318. { Write staticlibraries }
  319. if not StaticLibFiles.Empty then
  320. begin
  321. LinkRes.Add ('GROUP(');
  322. While not StaticLibFiles.Empty do
  323. begin
  324. S:=lower (StaticLibFiles.GetFirst);
  325. if s<>'' then
  326. begin
  327. {ad: that's a hack !
  328. whith -XX we get the .a files as static libs (in addition to the
  329. imported libraries}
  330. if (pos ('.a',s) <> 0) OR (pos ('.A', s) <> 0) then
  331. begin
  332. S2 := FindObjectFile(s,'',false);
  333. {$ifndef netware} LinkRes.Add (s2); {$else} LinkRes.Add (FExpand(s2)); {$endif}
  334. Comment(V_Debug,'adding Object File (StaticLibFiles) '+S2);
  335. end else
  336. begin
  337. i:=Pos(target_info.staticlibext,S);
  338. if i>0 then
  339. Delete(S,i,255);
  340. S := S + '.imp'; S2 := '';
  341. librarysearchpath.FindFile(S,S2);
  342. {$ifdef netware}
  343. Comment(V_Debug,'IMPORT @'+s2);
  344. s2 := FExpand (S2);
  345. {$endif}
  346. NLMConvLinkFile.Add('IMPORT @'+S2);
  347. Comment(V_Debug,'IMPORT @'+s2);
  348. end;
  349. end
  350. end;
  351. LinkRes.Add (')');
  352. end;
  353. if not SharedLibFiles.Empty then
  354. begin
  355. While not SharedLibFiles.Empty do
  356. begin
  357. {becuase of upper/lower case mix, we may get duplicate
  358. names but nlmconv ignores that.
  359. Here we are setting the import-files for nlmconv. I.e. for
  360. the module clib or clib.nlm we add IMPORT @clib.imp and also
  361. the module clib.nlm (autoload)
  362. ? may it be better to set autoload's via StaticLibFiles ? }
  363. S:=lower (SharedLibFiles.GetFirst);
  364. if s<>'' then
  365. begin
  366. s2:=s;
  367. i:=Pos(target_info.sharedlibext,S);
  368. if i>0 then
  369. Delete(S,i,255);
  370. if s[1] = '!' then
  371. begin // special, with ! only the imp will be included but no module is autoloaded, needed i.e. for netware.imp
  372. S := copy(S,2,255) + '.imp';
  373. librarysearchpath.FindFile(S,S3);
  374. {$ifdef netware}
  375. Comment(V_Debug,'IMPORT @'+S3);
  376. S3 := FExpand (S3);
  377. {$endif}
  378. NLMConvLinkFile.Add('IMPORT @'+S3);
  379. Comment(V_Debug,'IMPORT @'+S3);
  380. end else
  381. begin
  382. S := S + '.imp';
  383. librarysearchpath.FindFile(S,S3);
  384. {$ifdef netware}
  385. Comment(V_Debug,'IMPORT @'+S3);
  386. S3 := FExpand (S3);
  387. {$endif}
  388. NLMConvLinkFile.Add('IMPORT @'+S3);
  389. NLMConvLinkFile.Add('MODULE '+s2);
  390. Comment(V_Debug,'MODULE '+S2);
  391. Comment(V_Debug,'IMPORT @'+S3);
  392. end;
  393. end;
  394. end;
  395. end;
  396. { write exports }
  397. hp2:=texported_item(current_module._exports.first);
  398. while assigned(hp2) do
  399. begin
  400. if not hp2.is_var then
  401. begin
  402. { Export the Symbol }
  403. Comment(V_Debug,'EXPORT '+hp2.name^);
  404. NLMConvLinkFile.Add ('EXPORT '+hp2.name^);
  405. end
  406. else
  407. { really, i think it is possible }
  408. Message1(parser_e_no_export_of_variables_for_target,'netware');
  409. hp2:=texported_item(hp2.next);
  410. end;
  411. { Write and Close response for ld, response for nlmconv is in NLMConvLinkFile(not written) }
  412. linkres.writetodisk;
  413. LinkRes.Free;
  414. { pass options from -k to nlmconv, ; is interpreted as newline }
  415. s := ParaLinkOptions;
  416. while(Length(s) > 0) and (s[1] = ' ') do
  417. delete (s,1,1);
  418. p := pos ('"',s);
  419. while p > 0 do
  420. begin
  421. delete (s,p,1);
  422. p := pos ('"',s);
  423. end;
  424. p := pos (';',s);
  425. while p > 0 do
  426. begin
  427. s2 := copy(s,1,p-1);
  428. comment (V_Debug,'adding "'+s2+'" to nlmvonv input');
  429. NLMConvLinkFile.Add(s2);
  430. delete (s,1,p);
  431. p := pos (';',s);
  432. end;
  433. if s <> '' then
  434. begin
  435. comment (V_Debug,'adding "'+s+'" to nlmvonv input');
  436. NLMConvLinkFile.Add(s);
  437. end;
  438. WriteResponseFile:=True;
  439. end;
  440. function TLinkerNetware.MakeExecutable:boolean;
  441. var
  442. binstr : String;
  443. cmdstr : TCmdStr;
  444. success : boolean;
  445. StripStr : string[2];
  446. begin
  447. if not(cs_link_extern in aktglobalswitches) then
  448. Message1(exec_i_linking,current_module.exefilename^);
  449. { Create some replacements }
  450. StripStr:='';
  451. if (cs_link_strip in aktglobalswitches) then
  452. StripStr:='-s';
  453. { Write used files and libraries and create Headerfile for
  454. nlmconv in NLMConvLinkFile }
  455. WriteResponseFile(false);
  456. { Call linker, this will generate a new object file that will be passed
  457. to nlmconv. Otherwise we could not create nlms without debug info }
  458. SplitBinCmd(Info.ExeCmd[1],binstr,cmdstr);
  459. Replace(cmdstr,'$EXE',maybequoted(current_module.exefilename^));
  460. Replace(cmdstr,'$RES',maybequoted(outputexedir+Info.ResName));
  461. Replace(cmdstr,'$STRIP',StripStr);
  462. Replace(cmdstr,'$TMPOBJ',maybequoted(outputexedir+tmpLinkFileName));
  463. Comment (v_debug,'Executing '+BinStr+' '+cmdstr);
  464. success:=DoExec(FindUtil(BinStr),CmdStr,true,false);
  465. { Remove ReponseFile }
  466. if (success) and not(cs_link_extern in aktglobalswitches) then
  467. RemoveFile(outputexedir+Info.ResName);
  468. { Call nlmconv }
  469. if success then
  470. begin
  471. NLMConvLinkFile.writetodisk;
  472. NLMConvLinkFile.Free;
  473. SplitBinCmd(Info.ExeCmd[2],binstr,cmdstr);
  474. Replace(cmdstr,'$RES',maybequoted(outputexedir+'n'+Info.ResName));
  475. Comment (v_debug,'Executing '+BinStr+' '+cmdstr);
  476. success:=DoExec(FindUtil(BinStr),CmdStr,true,false);
  477. if (success) and not(cs_link_extern in aktglobalswitches) then
  478. begin
  479. RemoveFile(outputexedir+'n'+Info.ResName);
  480. RemoveFile(outputexedir+tmpLinkFileName);
  481. end;
  482. end;
  483. MakeExecutable:=success; { otherwise a recursive call to link method }
  484. end;
  485. {*****************************************************************************
  486. Initialize
  487. *****************************************************************************}
  488. initialization
  489. RegisterExternalLinker(system_i386_netware_info,TLinkerNetware);
  490. RegisterImport(system_i386_netware,TImportLibNetware);
  491. RegisterExport(system_i386_netware,TExportLibNetware);
  492. RegisterTarget(system_i386_netware_info);
  493. end.
  494. {
  495. $Log$
  496. Revision 1.24 2005-01-01 20:08:59 armin
  497. * support ! in import file names for netware also
  498. Revision 1.23 2004/12/22 16:32:46 peter
  499. * maybequoted() added
  500. Revision 1.22 2004/11/25 18:46:11 armin
  501. * added utilsprefix for as,ld and nlmconv
  502. Revision 1.21 2004/11/19 16:30:24 peter
  503. * fixed setting of mangledname when importing
  504. Revision 1.20 2004/11/08 22:09:59 peter
  505. * tvarsym splitted
  506. Revision 1.19 2004/10/25 15:38:41 peter
  507. * heap and heapsize removed
  508. * checkpointer fixes
  509. Revision 1.18 2004/10/14 18:16:17 mazen
  510. * USE_SYSUTILS merged successfully : cycles with and without defines
  511. * Need to be optimized in performance
  512. Revision 1.17 2004/09/24 10:48:31 armin
  513. * added GROUP for .a files to linker script
  514. Revision 1.16 2004/09/22 15:25:14 mazen
  515. * Fix error committing : previous version must be in branch USE_SYSUTILS
  516. Revision 1.14 2004/08/30 11:17:34 armin
  517. * added support for libc
  518. Revision 1.13 2004/08/01 19:29:06 armin
  519. * changes to compile fpc on netware
  520. Revision 1.12 2004/07/30 16:00:19 armin
  521. * removed -m for nlmconv, it is only valid for ld
  522. Revision 1.11 2004/06/20 08:55:32 florian
  523. * logs truncated
  524. Revision 1.10 2004/03/02 00:36:33 olle
  525. * big transformation of Tai_[const_]Symbol.Create[data]name*
  526. }