[Bug ld/27432] erroneous symbol offsets taken with __ImageBase relocation using Microsoft COFF .OBJ linked to

2021-02-22 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27432 --- Comment #13 from Kilian Kegel --- Created attachment 13254 --> https://sourceware.org/bugzilla/attachment.cgi?id=13254&action=edit 2361_bugfix_from_2021-02-22_1335UTC.png Hi H.J. your fix works. Please find the appended screenshot. I h

[Bug ld/27432] erroneous symbol offsets taken with __ImageBase relocation using Microsoft COFF .OBJ linked to

2021-02-21 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27432 --- Comment #11 from Kilian Kegel --- Hi H.J. regrettably, your fix does not help at all. I have uploaded the diff views "ineffective bugbatch from 2021-02-18 18:23" as a ZIP archive if you want to review. But I have found, that in the "or

[Bug ld/27432] erroneous symbol offsets taken with __ImageBase relocation using Microsoft COFF .OBJ linked to

2021-02-21 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27432 --- Comment #10 from Kilian Kegel --- Created attachment 13246 --> https://sourceware.org/bugzilla/attachment.cgi?id=13246&action=edit bugfix27432 binutils 2.36.1 ld - on the right side, left side manually corrected version -- You are rece

[Bug ld/27432] erroneous symbol offsets taken with __ImageBase relocation using Microsoft COFF .OBJ linked to

2021-02-21 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27432 --- Comment #9 from Kilian Kegel --- Created attachment 13245 --> https://sourceware.org/bugzilla/attachment.cgi?id=13245&action=edit original binutils 2.36.1 ld - on the right side, left side manually corrected version -- You are receivin

[Bug ld/27432] erroneous symbol offsets taken with __ImageBase relocation using Microsoft COFF .OBJ linked to

2021-02-21 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27432 --- Comment #8 from Kilian Kegel --- Created attachment 13244 --> https://sourceware.org/bugzilla/attachment.cgi?id=13244&action=edit bugfix27171 binutils 2.35 ld - on the right side, left side manually corrected version -- You are receivi

[Bug ld/27432] erroneous symbol offsets taken with __ImageBase relocation using Microsoft COFF .OBJ linked to

2021-02-21 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27432 --- Comment #7 from Kilian Kegel --- Created attachment 13243 --> https://sourceware.org/bugzilla/attachment.cgi?id=13243&action=edit bugfix26583 binutils 2.35 ld - on the right side, left side manually corrected version -- You are receivi

[Bug ld/27432] erroneous symbol offsets taken with __ImageBase relocation using Microsoft COFF .OBJ linked to

2021-02-21 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27432 --- Comment #6 from Kilian Kegel --- Created attachment 13242 --> https://sourceware.org/bugzilla/attachment.cgi?id=13242&action=edit original binutils 2.35 ld - on the right side, left side manually corrected version -- You are receiving

[Bug ld/27432] erroneous symbol offsets taken with __ImageBase relocation using Microsoft COFF .OBJ linked to

2021-02-21 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27432 --- Comment #5 from Kilian Kegel --- Created attachment 13241 --> https://sourceware.org/bugzilla/attachment.cgi?id=13241&action=edit original binutils 2.34 ld - on the right side, left side manually corrected version -- You are receiving

[Bug ld/27432] erroneous symbol offsets taken with __ImageBase relocation using Microsoft COFF .OBJ linked to

2021-02-21 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27432 --- Comment #4 from Kilian Kegel --- Created attachment 13240 --> https://sourceware.org/bugzilla/attachment.cgi?id=13240&action=edit ineffective bugbatch from 2021-02-18 18:23 -- You are receiving this mail because: You are on the CC list

[Bug ld/27432] erroneous symbol offsets taken with __ImageBase relocation using Microsoft COFF .OBJ linked to

2021-02-17 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27432 --- Comment #1 from Kilian Kegel --- Created attachment 13230 --> https://sourceware.org/bugzilla/attachment.cgi?id=13230&action=edit screenshot wrong offset calculation -- You are receiving this mail because: You are on the CC list for th

[Bug ld/27432] New: erroneous symbol offsets taken with __ImageBase relocation using Microsoft COFF .OBJ linked to

2021-02-17 Thread minnowware at hotmail dot com
: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: minnowware at hotmail dot com Target Milestone: --- Hi H.J. the symbol addresses taken for __ImageBase addressing scheme are wrong. RIP

[Bug ld/27425] erroneous __ImageBase relocation using Microsoft COFF .OBJ linked to .ELF x86_64

2021-02-17 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27425 --- Comment #2 from Kilian Kegel --- Hi H.J. your solution is perfect for part 1 of the issue. Additional it also fixes the entries for exception handling in the .pdata section - perfect. I will create a separate bug for part 2 of the proble

[Bug ld/27425] erroneous __ImageBase relocation using Microsoft COFF .OBJ linked to .ELF x86_64

2021-02-15 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27425 Kilian Kegel changed: What|Removed |Added URL||https://github.com/KilianKe

[Bug ld/27425] New: erroneous __ImageBase relocation using Microsoft COFF .OBJ linked to .ELF x86_64

2021-02-15 Thread minnowware at hotmail dot com
Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: minnowware at hotmail dot com Target Milestone: --- Hi H.J. there are two (2) more bugs related closely to https://sourceware.org/bugzilla/show_bug.cgi?id=26583

[Bug ld/27171] R_AMD64_DIR64/R_AMD64_DIR32 static address relocation

2021-01-11 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27171 --- Comment #4 from Kilian Kegel --- Created attachment 13115 --> https://sourceware.org/bugzilla/attachment.cgi?id=13115&action=edit screen shot Hi H.J. please find the appended screen shot. This patch works - perfect. Thanks a lot, Kil

[Bug ld/27171] R_X86_64_PC32 static address relocation

2021-01-11 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27171 Kilian Kegel changed: What|Removed |Added CC||minnowware at hotmail dot com

[Bug ld/27171] R_X86_64_PC32 static address relocation

2021-01-11 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27171 Kilian Kegel changed: What|Removed |Added Version|2.35.1 |2.37 (HEAD) -- You are receiving this

[Bug ld/27171] R_X86_64_PC32 static address relocation

2021-01-10 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27171 Kilian Kegel changed: What|Removed |Added URL||https://github.com/KilianKe

[Bug ld/27171] R_X86_64_PC32 static address relocation

2021-01-10 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27171 --- Comment #2 from Kilian Kegel --- Created attachment 13112 --> https://sourceware.org/bugzilla/attachment.cgi?id=13112&action=edit LINK.EXE commented disassembly -- You are receiving this mail because: You are on the CC list for the bug

[Bug ld/27171] R_X86_64_PC32 static address relocation

2021-01-10 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27171 --- Comment #1 from Kilian Kegel --- Created attachment 13111 --> https://sourceware.org/bugzilla/attachment.cgi?id=13111&action=edit LD commented disassembly -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/27171] New: R_X86_64_PC32 static address relocation

2021-01-10 Thread minnowware at hotmail dot com
: ld Assignee: unassigned at sourceware dot org Reporter: minnowware at hotmail dot com Target Milestone: --- Created attachment 13110 --> https://sourceware.org/bugzilla/attachment.cgi?id=13110&action=edit program should never reach the INT3/TRAP in the IF condition

[Bug ld/26583] R_X86_64_PC32 relocation against data symbol is mishandled

2020-09-15 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26583 --- Comment #14 from Kilian Kegel --- Hi H.J.Lu, no it works! That is great! ;-) Your implementation resolves all of the bugs (2) that I noticed so far 26583, 26584 and 26547 (.BSS and OPTIMIZATION bug). So I will continue my project soon:

[Bug ld/26583] R_X86_64_PC32 relocation against data symbol is mishandled

2020-09-14 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26583 --- Comment #12 from Kilian Kegel --- Created attachment 12841 --> https://sourceware.org/bugzilla/attachment.cgi?id=12841&action=edit GNU ld (GNU Binutils) 2.35.50.20200909 result Hi H.J.Lu, now I was able to build, install and run your f

[Bug ld/26583] R_X86_64_PC32 relocation against data symbol is mishandled

2020-09-13 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26583 --- Comment #10 from Kilian Kegel --- Created attachment 12838 --> https://sourceware.org/bugzilla/attachment.cgi?id=12838&action=edit correct relocation Correct address relocation Original binutils 2.34 from CYGWIN The address ret

[Bug ld/26583] R_X86_64_PC32 relocation against data symbol is mishandled

2020-09-13 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26583 Kilian Kegel changed: What|Removed |Added CC||minnowware at hotmail dot com

[Bug ld/26583] R_X86_64_PC32 relocation against data symbol is mishandled

2020-09-10 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26583 --- Comment #8 from Kilian Kegel --- Hi H.J.Lu, thank you for your quick response. Regrettably I had a lot of trouble building your branch https://gitlab.com/x86-binutils/binutils-gdb/-/commits/users/hjl/pr26583/master because of missing,

[Bug ld/26583] R_X86_64_PC32 relocation against data symbol is mishandled

2020-09-08 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26583 --- Comment #6 from Kilian Kegel --- Created attachment 12825 --> https://sourceware.org/bugzilla/attachment.cgi?id=12825&action=edit added .OBJ sorry, my mistake... :-( -- You are receiving this mail because: You are on the CC list for t

[Bug ld/26583] R_X86_64_PC32 relocation against data symbol is mishandled

2020-09-08 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26583 --- Comment #4 from Kilian Kegel --- Created attachment 12823 --> https://sourceware.org/bugzilla/attachment.cgi?id=12823&action=edit bar.c with /Od (opt dis) /O1 (opt ena) and disassemblies and objdumps .DMP: objdumps with the Microsoft DU

[Bug ld/26583] R_X86_64_PC32 relocation against data symbol is mishandled

2020-09-08 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26583 --- Comment #3 from Kilian Kegel --- Hi H.J.Lu, thanks a lot. in ldBugDemo0 the bug appears, because "char var" is kept unintilialized. in ldBugDemo1 the bug does not appear , because "char var" is intilialized. in ldBugDemo2

[Bug ld/26547] erroneous address relocation using Microsoft COFF .OBJ linked to .ELF x86_64

2020-09-08 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26547 --- Comment #4 from Kilian Kegel --- Hi H.J. Lu, I have split the bug: 1. .BSS bug -> https://sourceware.org/bugzilla/show_bug.cgi?id=26583 2. OPTIMIZATION bug -> https://sourceware.org/bugzilla/show_bug.cgi?id=26584 The sample programs we

[Bug ld/26584] erroneous address relocation: Microsoft COFF OPTIMIZED code linked to .ELF using ld

2020-09-08 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26584 Kilian Kegel changed: What|Removed |Added URL||https://github.com/KilianKe

[Bug ld/26584] New: erroneous address relocation: Microsoft COFF OPTIMIZED code linked to .ELF using ld

2020-09-08 Thread minnowware at hotmail dot com
Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: minnowware at hotmail dot com Target Milestone: --- Created attachment 12821 --> https://sourceware.org/bugzilla/attachment.cgi?id=12821&action=edit

[Bug ld/26583] erroneous address relocation: Mircrosoft COFF .BSS linked to .ELF using ld

2020-09-08 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26583 Kilian Kegel changed: What|Removed |Added URL||https://github.com/KilianKe

[Bug ld/26583] New: erroneous address relocation: Mircrosoft COFF .BSS linked to .ELF using ld

2020-09-08 Thread minnowware at hotmail dot com
Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: minnowware at hotmail dot com Target Milestone: --- Created attachment 12820 --> https://sourceware.org/bugzilla/attachment.cgi?id=12820&action=edit GITHUB d

[Bug ld/26547] erroneous address relocation using Microsoft COFF .OBJ linked to .ELF x86_64

2020-09-07 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26547 --- Comment #2 from Kilian Kegel --- Please find comprehensive explanation at the URL. The attached image is not very meaningful... -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/26547] erroneous address relocation using Microsoft COFF .OBJ linked to .ELF x86_64

2020-09-07 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26547 --- Comment #1 from Kilian Kegel --- Please find comprehensive explanation at the URL. The image is not very meaningful... -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/26547] erroneous address relocation using Microsoft COFF .OBJ linked to .ELF x86_64

2020-09-07 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26547 Kilian Kegel changed: What|Removed |Added Attachment #12808|0 |1 is obsolete|

[Bug ld/26547] erroneous address relocation using Microsoft COFF .OBJ linked to .ELF x86_64

2020-08-28 Thread minnowware at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=26547 Kilian Kegel changed: What|Removed |Added URL||https://github.com/KilianKe

[Bug ld/26547] New: erroneous address relocation using Microsoft COFF .OBJ linked to .ELF x86_64

2020-08-28 Thread minnowware at hotmail dot com
Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: minnowware at hotmail dot com Target Milestone: --- Created attachment 12808 --> https://sourceware.org/bugzilla/attachment.cgi?id=12808&action=edit .BSS