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

            Bug ID: 25125
           Summary: The "-a" argument affects output object files
           Product: binutils
           Version: 2.33
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: kaiyuan1 at andrew dot cmu.edu
  Target Milestone: ---

Created attachment 12048
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12048&action=edit
An example that triggers this bug (selected from cp.c (coreutils v8.25)
compiled by gcc5.4 on x64 ubuntu 16.04)

A "-a" argument can affect whether gas will choose to use "JMP 8-bit" or "JMP
32-bit" in an output object file.

These are the commands to regenerate this bug:

$ as -o cp.o cp.s
$ as -a=cp.lst -o cp.a.o cp.s
$ objdump -d cp.o > cp.txt
$ objdump -d cp.a.o > cp.a.txt
$ diff cp.txt cp.a.txt

-- 
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