[Bug ld/30147] Allow to specify PE export name

2023-04-12 Thread pali at kernel dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30147 --- Comment #3 from Pali Rohár --- I have tested that it is really possible to set export name via DEF file when generating PE binary. Export name can be specified via LIBRARY or via NAME keyword. At least I would suggest to extend -soname= d

[Bug ld/30140] LD does not link PE executable with symbols from DEF file

2023-04-12 Thread pali at kernel dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30140 --- Comment #3 from Pali Rohár --- Thank you for information. I see that it is quite misleading because DEF file in some case is used for "dllimport" functionality and in some other cases is used for "dllexport" functionality. And this can be

[Bug binutils/30143] All PE sections are paged

2023-04-12 Thread pali at kernel dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30143 --- Comment #2 from Pali Rohár --- Hello! I'm replying below as inline comments. (In reply to Nick Clifton from comment #1) > Hi Pali, > > OK, so I am assuming that the desired behaviour is specific to the NT > kernel. > Ie, the default

[Bug ld/30145] No way to specify PE IMAGE_SCN_* characteristics

2023-04-12 Thread pali at kernel dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30145 --- Comment #2 from Pali Rohár --- In past I have tried to use objcopy --set-section-flags but it did not work, I did not get expected result and I do not remember exact details. As you mentioned this option, I will try it again with new binut

[Bug ld/30144] LD --entry does not accept function name

2023-04-12 Thread pali at kernel dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30144 --- Comment #2 from Pali Rohár --- As a workaround I have already come up with this: __attribute__((stdcall)) long DriverEntry(void *DriverObject, void *RegistryPath) asm("DriverEntry"); __attribute__((stdcall)) long DriverEntry(void *DriverO

Issue 57879 in oss-fuzz: binutils:fuzz_nm: Index-out-of-bounds in insert_arange_in_trie

2023-04-12 Thread sheriffbot via monorail
Updates: Labels: -restrict-view-commit Comment #3 on issue 57879 by sheriffbot: binutils:fuzz_nm: Index-out-of-bounds in insert_arange_in_trie https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=57879#c3 This bug has been fixed. It has been opened to the public. - Your friendly Sherif

Issue 57789 in oss-fuzz: binutils:fuzz_objdump_safe: Null-dereference READ in bfd_coff_get_syment

2023-04-12 Thread sheriffbot via monorail
Updates: Labels: -restrict-view-commit Comment #3 on issue 57789 by sheriffbot: binutils:fuzz_objdump_safe: Null-dereference READ in bfd_coff_get_syment https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=57789#c3 This bug has been fixed. It has been opened to the public. - Your frien

[Bug ld/30300] LTO drops entry point symbol

2023-04-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30300 Nick Clifton changed: What|Removed |Added Assignee|unassigned at sourceware dot org |nickc at redhat dot com -- You

[Bug ld/30300] LTO drops entry point symbol

2023-04-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30300 Nick Clifton changed: What|Removed |Added Last reconfirmed||2023-04-12 Status|UNCONFIR

[Bug ld/30300] LTO drops entry point symbol

2023-04-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30300 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1

[Bug binutils/30142] PE .rsrc section is generated as writable

2023-04-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30142 --- Comment #1 from Nick Clifton --- Created attachment 14815 --> https://sourceware.org/bugzilla/attachment.cgi?id=14815&action=edit Proposed patch Hi Pali, Please could you try out this patch and see if it works for you ? The fault

[Bug binutils/30142] PE .rsrc section is generated as writable

2023-04-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30142 Nick Clifton changed: What|Removed |Added Assignee|unassigned at sourceware dot org |nickc at redhat dot com Eve

[Bug binutils/30281] error: multiple definition of `pwrite@GLIBC_2.2' with LTO and symver attribute

2023-04-12 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=30281 --- Comment #10 from Martin Liska --- Thanks H.J. for the backport. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/30143] All PE sections are paged

2023-04-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30143 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1

[Bug ld/30144] LD --entry does not accept function name

2023-04-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30144 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1

[Bug ld/30145] No way to specify PE IMAGE_SCN_* characteristics

2023-04-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30145 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1

Re: ORIGIN Grammar Typo in Some Documentation

2023-04-12 Thread Nick Clifton
Hi Matt, Hello, just reporting that lines 492-494 of ld/ld.texi contain examples of MEMORY ORIGIN of the form: ORIGIN : offset Where the grammar is: origin_spec: ORIGIN '=' mustbe_exp Oops! Seems like hoops to raise a pull request, someone else can take the glory. Glory

[Bug gas/30308] as crash (infinite recursion) on invalid source file

2023-04-12 Thread charlechaud at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30308 Charles Blake changed: What|Removed |Added CC||charlechaud at gmail dot com --- Comm

[Bug ld/28824] relro security issues

2023-04-12 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28824 Sam James changed: What|Removed |Added CC||sam at gentoo dot org -- You are receivi