[Bug gold/22915] Gold doesn't support Intel CET

2018-06-23 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22915

--- Comment #1 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Cary Coutant :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=750ea5ed38abbda8a6f25e276bff3dfc8e4ce0ee

commit 750ea5ed38abbda8a6f25e276bff3dfc8e4ce0ee
Author: Cary Coutant 
Date:   Fri Jun 22 17:28:05 2018 -0700

Add x86-64 support for Indirect Branch Tracking (IBT).

gold/
PR gold/22915
* x86_64.cc (Output_data_plt_x86_64_ibt): New class.
(Target_x86_64::do_make_data_plt): (All instantiations) Check for
IBT feature bit and create IBT PLTs.

-- 
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/22915] Gold doesn't support Intel CET

2018-06-23 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22915

Cary Coutant  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--- Comment #2 from Cary Coutant  ---
Added x86-64 and x32 support for binutils 2.31.

i386 support not done.

-- 
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/22914] Gold doesn't support .note.gnu.property section (NT_GNU_PROPERTY_TYPE_0)

2018-06-23 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22914

--- Comment #5 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Cary Coutant :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=add4131108de4b4a0f3003cb542e9548914fbed1

commit add4131108de4b4a0f3003cb542e9548914fbed1
Author: Cary Coutant 
Date:   Sat Jun 23 00:26:07 2018 -0700

Fix "may be used uninitialized" warning.

gold/
PR gold/22914
* x86_64.cc (Target_x86_64::record_gnu_property): Initialize val.

-- 
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/23335] New: MSP430 gas mishandle symbols starting with a register name.

2018-06-23 Thread suckfish at ihug dot co.nz
https://sourceware.org/bugzilla/show_bug.cgi?id=23335

Bug ID: 23335
   Summary: MSP430 gas mishandle symbols starting with a register
name.
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: suckfish at ihug dot co.nz
  Target Milestone: ---
Target: msp430

Created attachment 11097
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11097&action=edit
Source assembly.

See attached code.  gas treats the symbols 'r5', 'sr' etc. as registers
(r5, sr etc.)

This happens for PC-relative address mode but not absolute.

Noticed on Fedora28 msp430-elf-binutils-5.1.0.0-1.x86_64, also on latest git.

Compiling the attached code with msp430-elf-as regs.s -o regs.o, the
disassembly is (the first half is bogus, the second half is correct):

regs.o: file format elf32-msp430


Disassembly of section .text:

 <.text>:
   0:   05 40   mov r0, r5  ;
   2:   04 45   mov r5, r4  ;
   4:   01 40   mov r0, r1  ;
   6:   04 41   mov r1, r4  ;
   8:   02 40   mov r0, r2  ;
   a:   04 42   mov r2, r4  ;
   c:   00 40   br  r0  ;
   e:   04 40   mov r0, r4  ;
  10:   80 40 00 00 mov r0, 0x  ; PC rel. 0x0012
  14:   14 40 00 00 mov 0x, r4  ;PC rel. 0x0016
  18:   82 40 00 00 mov r0, &0x ;
  1c:   14 42 00 00 mov &0x,r4  ;0x
  20:   82 40 00 00 mov r0, &0x ;
  24:   14 42 00 00 mov &0x,r4  ;0x
  28:   82 40 00 00 mov r0, &0x ;
  2c:   14 42 00 00 mov &0x,r4  ;0x
  30:   82 40 00 00 mov r0, &0x ;
  34:   14 42 00 00 mov &0x,r4  ;0x


-- 
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/23335] MSP430 gas mishandle symbols starting with a register name.

2018-06-23 Thread suckfish at ihug dot co.nz
https://sourceware.org/bugzilla/show_bug.cgi?id=23335

--- Comment #1 from Ralph Loader  ---
Looking at tc-msp430.c, the function check_reg() looks pretty bogus.

Any identifier with a prefix which is a register name is accepted as a
register.

Also numbers in the range 0..15 are accepted as registers, without the 'r'
prefix, I am not sure if that is intentional.

r01, r011 and r11 are treated inconsistently, the first two the register number
is 0, the last one the register number is 11.

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