bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/25125] New: The "-a" argument affects output object files


From: kaiyuan1 at andrew dot cmu.edu
Subject: [Bug gas/25125] New: The "-a" argument affects output object files
Date: Tue, 22 Oct 2019 05:35:18 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]