[Bug ld/30004] LD --exclude-all-symbols generates export table

2023-02-20 Thread pali at kernel dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30004 --- Comment #6 from Pali Rohár --- Hm... When I'm thinking about it, DLL library without export table does not make sense (or yes?). So maybe condition for generating export table when there is no exported symbol should have been based on the

[Bug ld/30004] LD --exclude-all-symbols generates export table

2023-02-20 Thread pali at kernel dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30004 --- Comment #5 from Pali Rohár --- Thanks! Anyway, the whole issue is about executables, not libraries. So I still do not understand reasons. And I'm not quite sure what it is "position independent DLL". Every DLL library should contain relo

[Bug ld/30004] LD --exclude-all-symbols generates export table

2023-02-20 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30004 Nick Clifton changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ld/30004] LD --exclude-all-symbols generates export table

2023-02-20 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30004 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c9802aca6d152c4a47252f69ad81556dbc24e312 commit c9802aca6d152c4a47252f69ad8

[Bug ld/30004] LD --exclude-all-symbols generates export table

2023-02-19 Thread pali at kernel dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30004 --- Comment #2 from Pali Rohár --- Hello! Sorry for a longer delay. Now I did tests with your proposed patch and export table and .edata section is not generated anymore. But there is one thing which I do not understand: Why when bfd_link_pic

[Bug ld/30004] LD --exclude-all-symbols generates export table

2023-01-17 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30004 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com Assi