[Bug ld/25754] New: [ld][gold] x86: don't relax GOTPCRELX for SHN_ABS

2020-03-31 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=25754

Bug ID: 25754
   Summary: [ld][gold] x86: don't relax GOTPCRELX for SHN_ABS
   Product: binutils
   Version: 2.35 (HEAD)
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: i at maskray dot me
  Target Milestone: ---

cat > a.s <:
1000:   48 8d 05 23 f0 ff fflea-0xfdd(%rip),%rax# 2a



gold has the same issue.


See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94391 and
https://bugs.llvm.org/show_bug.cgi?id=30803

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


[Bug ld/25754] [ld][gold] x86: don't relax GOTPCRELX for SHN_ABS

2020-03-31 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25754

H.J. Lu  changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com

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


[Bug gas/25611] [DWARF-5] support for checksums in .file directives

2020-03-31 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25611

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

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

commit 876678f05e70235ed71d5b9ec63e4f6db1ec76e4
Author: Maciej W. Rozycki 
Date:   Tue Mar 31 23:01:36 2020 +0100

PR 25611, PR 25614: GAS: Remove a double inclusion of "bignum.h"

Correct an issue with commit 5496f3c635dc ("Add support for generating
DWARF-5 format directory and file name tables from the assembler.") and
remove a duplicate direct inclusion of "bignum.h" from dwarf2dbg.c that
causes a GAS compilation error:

In file included from .../gas/dwarf2dbg.c:33:
.../gas/bignum.h:42: error: redefinition of typedef 'LITTLENUM_TYPE'
.../gas/bignum.h:42: error: previous declaration of 'LITTLENUM_TYPE' was
here
make[4]: *** [dwarf2dbg.o] Error 1

with some GCC versions, as this header has been already included via
"as.h" and then "flonum.h".

gas/
PR 25611
PR 25614
* dwarf2dbg.c: Do not include "bignum.h".

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


[Bug gas/25614] dwarf-5 allows for .file 0

2020-03-31 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25614

--- Comment #15 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Maciej W. Rozycki :

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

commit 876678f05e70235ed71d5b9ec63e4f6db1ec76e4
Author: Maciej W. Rozycki 
Date:   Tue Mar 31 23:01:36 2020 +0100

PR 25611, PR 25614: GAS: Remove a double inclusion of "bignum.h"

Correct an issue with commit 5496f3c635dc ("Add support for generating
DWARF-5 format directory and file name tables from the assembler.") and
remove a duplicate direct inclusion of "bignum.h" from dwarf2dbg.c that
causes a GAS compilation error:

In file included from .../gas/dwarf2dbg.c:33:
.../gas/bignum.h:42: error: redefinition of typedef 'LITTLENUM_TYPE'
.../gas/bignum.h:42: error: previous declaration of 'LITTLENUM_TYPE' was
here
make[4]: *** [dwarf2dbg.o] Error 1

with some GCC versions, as this header has been already included via
"as.h" and then "flonum.h".

gas/
PR 25611
PR 25614
* dwarf2dbg.c: Do not include "bignum.h".

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


[Bug gas/25614] dwarf-5 allows for .file 0

2020-03-31 Thread dblaikie at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25614

--- Comment #16 from David Blaikie  ---
(In reply to cvs-com...@gcc.gnu.org from comment #15)
> The master branch has been updated by Maciej W. Rozycki
> :
> 
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;
> h=876678f05e70235ed71d5b9ec63e4f6db1ec76e4
> 
> commit 876678f05e70235ed71d5b9ec63e4f6db1ec76e4
> Author: Maciej W. Rozycki 
> Date:   Tue Mar 31 23:01:36 2020 +0100
> 
> PR 25611, PR 25614: GAS: Remove a double inclusion of "bignum.h"
> 
> Correct an issue with commit 5496f3c635dc ("Add support for generating
> DWARF-5 format directory and file name tables from the assembler.") and
> remove a duplicate direct inclusion of "bignum.h" from dwarf2dbg.c that
> causes a GAS compilation error:
> 
> In file included from .../gas/dwarf2dbg.c:33:
> .../gas/bignum.h:42: error: redefinition of typedef 'LITTLENUM_TYPE'
> .../gas/bignum.h:42: error: previous declaration of 'LITTLENUM_TYPE' was
> here
> make[4]: *** [dwarf2dbg.o] Error 1
> 
> with some GCC versions, as this header has been already included via
> "as.h" and then "flonum.h".
> 
> gas/
> PR 25611
> PR 25614
> * dwarf2dbg.c: Do not include "bignum.h".

bignum.h seems brittle - I guess there's a reason it doesn't have include
guards? (if it doesn't have include guards, perhaps it shouldn't be included
from other headers? Maybe given a different extension?)

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