[Bug gold/18098] Gold doesn't support SORT_BY_INIT_PRIORITY in linker script

2015-12-06 Thread nyh at math dot technion.ac.il
https://sourceware.org/bugzilla/show_bug.cgi?id=18098

Nadav Har'El  changed:

   What|Removed |Added

 CC||nyh at math dot technion.ac.il

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


[Bug gold/18098] Gold doesn't support SORT_BY_INIT_PRIORITY in linker script

2015-12-06 Thread nyh at math dot technion.ac.il
https://sourceware.org/bugzilla/show_bug.cgi?id=18098

--- Comment #1 from Nadav Har'El  ---
This bug also prevented compiling OSv (http://osv.io/) on systems where "ld"
points to gold - because OSv also uses a linker script with
SORT_BY_INIT_PRIORITY:

.init_array : {
*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*))
*(.init_array .ctors)
} : text


So until gold is fixed to support SORT_BY_INIT_PRIORITY, we changed OSv's
Makefile to explicitly use "ld.bfd" - see
https://github.com/cloudius-systems/osv/commit/d21e39fee2fa0b9a90873340509b8f4031e44bf4

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


[Bug gas/19337] New: aarch64: Assertion failure in output_operand_error_record

2015-12-06 Thread carl at cogsystems dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19337

Bug ID: 19337
   Summary: aarch64: Assertion failure in
output_operand_error_record
   Product: binutils
   Version: 2.24
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: carl at cogsystems dot com
  Target Milestone: ---

Created attachment 8833
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8833&action=edit
Test case for gas asserion failure

bad opcode + argument causes gas assertion in aarch64.

aarch64-none-elf-gcc fail-nop-aarch64.c -o test
/tmp/ccoo42U9.s: Assembler messages:
/tmp/ccoo42U9.s:13: Internal error!
Assertion failure in output_operand_error_record at
../../../src/binutils-2.24.51.0.3/gas/config/tc-aarch64.c line 3926.
Please report this bug.

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