https://sourceware.org/bugzilla/show_bug.cgi?id=19020

            Bug ID: 19020
           Summary: objcopy interleave feature broken
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: ams at sourceware dot org
  Target Milestone: ---

The recent fix for pr binutils/19005 broke the interleave feature.

Before the "fix":

$ echo -n abcdefgh > in
$ objcopy -I binary -O binary \
          --pad-to=10 --gap-fill=65 \
          --interleave=2 --interleave-width=1 --byte=0 \
          in out
$ xxd out
0000000: 6163 6567 4141 4141 4141                 acegAAAAAA


After@

$ objcopy -I binary -O binary \
          --pad-to=10 --gap-fill=65 \
          --interleave=2 --interleave-width=1 --byte=0 \
          in out
$ xxd out
0000000: 6163 0000 4141 4141 4141                 ac..AAAAAA
              ^^^^                                  ^^

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to