[Bug binutils/27951] PE64 Add-Section Virtual Address is 0 ?

2021-06-04 Thread df7729 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27951 --- Comment #2 from David F. --- (In reply to David F. from comment #1) Actually, objcopy could know it added some number of sections (set the virtual address (vma) in them to match the file offset so shim doesn't complain) and where the exis

[Bug binutils/27951] PE64 Add-Section Virtual Address is 0 ?

2021-06-03 Thread df7729 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27951 --- Comment #1 from David F. --- Well there is another problem, you can't add sections on PE/PE64 before the other existing sections without fixing up all offsets which means looking at opcodes and addresses, so much better if it only added to

[Bug binutils/27951] New: PE64 Add-Section Virtual Address is 0 ?

2021-06-03 Thread df7729 at gmail dot com
: binutils Assignee: unassigned at sourceware dot org Reporter: df7729 at gmail dot com Target Milestone: --- I've updated to 2.36.1 to ensure this problem didn't go away but it didn't. I am building GRUB2 (2.04-1ubuntu26.11) for UEFI booting. We now need