search for: __imp_

Displaying 9 results from an estimated 9 matches for "__imp_".

2015 Aug 13
2
[lld] Alias in COFF short import library.
> > If you want to define an alias symbol "bar" to "foo" (which is an > extension you want to provide), one way is to create an object file that > defines "bar" and "__imp_bar" as aliases to "foo" and "__imp_foo", > respectively, and add that object file to the import library. As a result, > the import library file defines four symbols, {,__imp_}{foo,bar}. > > Do you know how to define symbol aliases in COFF? If you don't, take...
2015 Aug 13
2
[lld] Alias in COFF short import library.
> > The header of libuser32b.a says that it defines MessageBoxB and > __imp_MessageBoxB, but the import library file in the archive actually > defines MessageBoxA (not B). So the archive file is broken. You may want to > fix the header and try again. Yes this is how I done the alias. If you consider this invalid then look at libuser32.a The header defines MessageBox...
2015 Aug 13
2
[lld] Alias in COFF short import library.
...th lld for actual symbols. But it seems lld segfaults when I try to use and an alias as we discussed before. I have attached 3 import libraries. They all only have 1 import function. libuser32orig.a -> Works fine and only has MessageBoxA libuser32b.a -> the symbol table has MessageBoxB and __imp_MessageBoxB but the Import object has MessageBoxA.user32.dll. This causes a segfault in lld but should link correctly right ? Additionally I have attached libuser32.a This is the same as libuser32b.a but the symbol table has MessageBoxA and __imp_MessageBoxB rather then MessageBoxB and __imp_Messa...
2009 Jan 05
1
[LLVMdev] Small doc fix.
Hi, The LLVM Assembly Language Reference [1] incorrectly states that the prefix used for dll{import,export} is _imp__; it is actually __imp_. The attached patch fixes this. Thanks & Regards, -Mahadevan. [1] file:///home/mdevan/llvm/docs/LangRef.html#linkage -------------- next part -------------- A non-text attachment was scrubbed... Name: doc-dllimport-prefix.patch Type: text/x-diff Size: 1099 bytes Desc: not available URL: <h...
2015 Feb 19
4
[LLVMdev] [lld] Undefined symbols postprocessing
+ Nick On 2/19/2015 9:00 AM, Shankar Easwaran wrote: > On 2/19/2015 3:58 AM, Denis Protivensky wrote: >> Joerg: >>> I propose to add the ability to ignore undefined symbols during initial >>> resolution, and then postprocess only those undefines for the second >>> time >>> after the pass manager execution. >> Do you want to do that before or
2013 Mar 26
6
[LLVMdev] Feedback required on proper dllexport/import implementation
...ple inline functions can be found for example in Microsoft headers or even libc++ headers. Ignoring the dllexport/import attribute for such functions would seem most sensible (and can be implemented easily), but MSVC does the opposite: For imported inline functions the function body is dropped and __imp_ calls are emitted, and exported inline functions are placed into COMDAT sections. The latter cannot be expressed because it requires linkonce_odr and dllexport linkage. The question now is how to implement this. After a brief discussion, I can think of four ways: 1. Add additional linkage type(s)...
2015 Feb 18
6
[LLVMdev] [lld] Undefined symbols postprocessing
Hi everyone, In lld, I need to conditionally add symbols (like GLOBAL_OFFSET_TABLE) during static linking because they may be used by relocations (R_ARM_TLS_IE32) or by some other stuff like STT_GNU_IFUNC symbols. The problem is that now symbols are added in a declarative way by specifying in ExecutableWriter::addDefaultAtoms() override. At that stage, there's no way to determine if
2013 Apr 23
0
[LLVMdev] Feedback required on proper dllexport/import implementation
...ple inline functions can be found for example in Microsoft headers or even libc++ headers. Ignoring the dllexport/import attribute for such functions would seem most sensible (and can be implemented easily), but MSVC does the opposite: For imported inline functions the function body is dropped and __imp_ calls are emitted, and exported inline functions are placed into COMDAT sections. The latter cannot be expressed because it requires linkonce_odr and dllexport linkage. The question now is how to implement this. After a brief discussion, I can think of four ways: 1. Add additional linkage type(s)...
2020 Oct 23
0
Wine release 5.20
...es since 5.19: Aaron Hill (1): cmd: Set errorlevel to 0 when 'call' is invoked with an empty string. Akihiro Sagawa (1): documentation: Update Japanese translation. Alexandre Julliard (20): makefiles: List all possible targets in the stub makefiles. winebuild: Add __imp_ label on the import data for delayed imports. server: Create the NLS directory. ntdll: Make NtGetNlsSectionPtr() into a proper Nt syscall. gdi32: Move the font driver out of freetype.c. gdi32: Move the other exported freetype functions to the font backend table. gdi32:...