[Issue 24711] New: Elf object file code sections are being padded with 00 bytes for alignment

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 20 04:37:17 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24711

          Issue ID: 24711
           Summary: Elf object file code sections are being padded with 00
                    bytes for alignment
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: bugzilla at digitalmars.com

gcc doesn't do that. I don't know why dmd is. This can cause problems with
disassembly because 00 bytes decode to two instructions, which can overflow the
code section.

--


More information about the Digitalmars-d-bugs mailing list