[Bug binutils/25281] New: sh disassembler abort

2019-12-15 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25281

Bug ID: 25281
   Summary: sh disassembler abort
   Product: binutils
   Version: 2.34 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: amodra at gmail dot com
  Target Milestone: ---

echo .word 0xf100 | gas/as-new --isa=sh4al-dsp -
binutils/objdump -d a.out

results in

a.out: file format elf32-sh-linux


Disassembly of section .text:

 <.text>:
Aborted

This is from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18214 (if
you have access there).

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


[Bug binutils/25281] sh disassembler abort

2019-12-15 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25281

Alan Modra  changed:

   What|Removed |Added

 Target||sh-linux
 CC||aoliva at sourceware dot org

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


Issue 18214 in oss-fuzz

2019-12-15 Thread amo… via monorail

The following issue was updated:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18214#c5
--
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.


[Bug gas/25284] New: Disallow .align .p2align .balign without operands

2019-12-15 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=25284

Bug ID: 25284
   Summary: Disallow .align .p2align .balign without operands
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: i at maskray dot me
  Target Milestone: ---

These directives are allowed without an operand.

.balign
.align
.p2align

Such forms should probably be removed.

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


[Bug ld/25285] New: FAIL: Run with libfunc1.so comm1.o with GCC 10

2019-12-15 Thread pinskia at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25285

Bug ID: 25285
   Summary: FAIL: Run with libfunc1.so comm1.o with GCC 10
   Product: binutils
   Version: 2.33
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

GCC 10 enables -fno-common by default and we get an extra failure due to that:
/bajas/pinskia/src/toolchain-10/marvell-tools/bin/../lib/gcc/aarch64-marvell-linux-gnu/10.0.0/../../../../aarch64-marvell-linux-gnu/bin/ld:
warning: type of symbol `foo' changed from 2 to 1 in tmpdir/comm1.o
/bajas/pinskia/src/toolchain-10/marvell-tools/bin/../lib/gcc/aarch64-marvell-linux-gnu/10.0.0/../../../../aarch64-marvell-linux-gnu/bin/ld:
warning: type of symbol `foo' changed from 2 to 1 in tmpdir/comm1.o
FAIL: Run with libfunc1.so comm1.o

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


[Bug gas/14891] Section name and symbol name clash

2019-12-15 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=14891

Fangrui Song  changed:

   What|Removed |Added

 CC||i at maskray dot me

--- Comment #2 from Fangrui Song  ---
A simpler reproduce for the ELF test case.

% cat a.s
foo:
.section foo
% as a.s  # no diagnostic

% cat b.s
.section foo
foo:
% as b.s
b.s: Assembler messages:
b.s:2: Error: symbol `foo' is already defined


There should be an error in both cases.

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