[Bug binutils/27022] New: avr-size (avr-binutils v2.35) don't' accept --formart=avr

2020-12-05 Thread lul at isep dot ipp.pt
https://sourceware.org/bugzilla/show_bug.cgi?id=27022

Bug ID: 27022
   Summary: avr-size (avr-binutils v2.35) don't' accept
--formart=avr
   Product: binutils
   Version: 2.35
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: lul at isep dot ipp.pt
  Target Milestone: ---

Using avr eclipse plugin in fedora 33, when compile the following error appear:

 Invoking: Print Size
avr-size --format=avr --mcu=atmega2560 BlinkTest1.elf
avr-size: invalid argument to --format: avr
Usage: avr-size [option(s)] [file(s)]
 Displays the sizes of sections inside binary files
 If no input file(s) are specified, a.out is assumed
 The options are:
  -A|-B|-C|-G  --format={sysv|berkeley|avr|gnu}  Select output style (default
is berkeley)
--mcu=MCU name for AVR format only
  -o|-d|-x  --radix={8|10|16} Display numbers in octal, decimal or hex
  -t--totals  Display the total sizes (Berkeley only)
--common  Display total size for *COM* syms
--target=Set the binary file format
Finished building: sizedummy
@   Read options from 
  -h--helpDisplay this information
  -v--version Display the program's version

avr-size: supported targets: elf32-avr elf32-little elf32-big srec symbolsrec
verilog tekhex binary ihex plugin
make: [makefile:77: sizedummy] Error 1 (ignored)

if change make file to
avr-size -C --mcu=atmega2560 BlinkTest1.elf

it works correctly.

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


[Bug binutils/27022] avr-size (avr-binutils v2.35) don't' accept --formart=avr

2020-12-05 Thread lul at isep dot ipp.pt
https://sourceware.org/bugzilla/show_bug.cgi?id=27022

Luis  changed:

   What|Removed |Added

 CC||lul at isep dot ipp.pt

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


[Bug binutils/27023] New: [ARM]: ldrd/strd without second transfer register

2020-12-05 Thread husseydevin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27023

Bug ID: 27023
   Summary: [ARM]: ldrd/strd without second transfer register
   Product: binutils
   Version: 2.35.1
Status: UNCONFIRMED
  Severity: minor
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: husseydevin at gmail dot com
  Target Milestone: ---

ARM objdump annotates ldrd/strd with only one transfer register.

So, for example, 

 ldrdr0, r1, [r2]
 strdr0, r1, [r2]

Will dump as

 ldrdr0, [r2]
 strdr0, [r2]

Both registers should be annotated:

 - It matches the ARM documentation
 - It matches the behavior of llvm-objdump and radare2
 - It will be impossible to mix up with ldrb/strb, as they no longer line up
visually

Additionally, gas *accepts* this one operand syntax. Is this intentional?

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


[Bug binutils/27023] [ARM]: ldrd/strd without second transfer register

2020-12-05 Thread husseydevin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27023

husseydevin at gmail dot com changed:

   What|Removed |Added

 CC||husseydevin at gmail dot com
 Target||arm-none-eabi

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