[Bug binutils/22809] New: Segmentation fault in bfd_section_from_shdr

2018-02-07 Thread mgcho.minic at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22809

Bug ID: 22809
   Summary: Segmentation fault in bfd_section_from_shdr
   Product: binutils
   Version: 2.31 (HEAD)
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: mgcho.minic at gmail dot com
  Target Milestone: ---

Created attachment 10793
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10793&action=edit
ELF file to trigger the bug

Triggered by "./objdump -x -W $POC"
Tested on Ubuntu 16.04 (x86)

Segmentation fault occurred when processing malformed PE file.


The GDB debugging information is as follows:

- ELF File
Program received signal SIGSEGV, Segmentation fault.
bfd_section_from_shdr (abfd=0x8218a08, shindex=6) at elf.c:2022
warning: Source file is more recent than executable.
2022  hdr = elf_elfsections (abfd)[shindex];
(gdb) bt
#0  bfd_section_from_shdr (abfd=0x8218a08, shindex=6) at elf.c:2022
#1  0x080ab375 in bfd_elf32_object_p (abfd=0x8218a08) at elfcode.h:805
#2  0x080958b5 in bfd_check_format_matches (abfd=0x8218a08, format=bfd_object, 
matching=0xbfffef48) at format.c:311
#3  0x0804faa8 in display_object_bfd (abfd=0x8218a08) at ./objdump.c:3663
#4  display_any_bfd (file=file@entry=0x8218a08, level=level@entry=0) at
./objdump.c:3754
#5  0x08051a54 in display_file (
filename=0xb274
"/home/min/fuzzing/result/binutils/paper/2/objdump_x_W_pe_1_2/triage-latest/../../objdump_x_W_elf_1_2/triage-latest/objalloc.c:186:17/id:000511,sig:06,src:004162,op:havoc,rep:4",
target=, last_file=1) at ./objdump.c:3775
#6  0x0804bf70 in main (argc=4, argv=0xb064) at ./objdump.c:4077

- PE File
Program received signal SIGSEGV, Segmentation fault.
__memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:90
90  ../sysdeps/i386/i686/multiarch/../memcpy.S: No such file or directory.
(gdb) bt
#0  __memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:90
#1  0xb7e6830f in __GI__IO_file_xsgetn (fp=0x821aa88, data=0x8218828,
n=8388608) at fileops.c:1383
#2  0xb7e6a33e in __GI__IO_sgetn (fp=0x821aa88, data=0x8218828, n=8388608) at
genops.c:467
#3  0xb7e5d8f7 in __GI__IO_fread (buf=0x8218828, size=1, count=8388608,
fp=0x821aa88)
at iofread.c:38
#4  0x080fc573 in fread (__stream=0x821aa88, __n=8388608, __size=1,
__ptr=)
at /usr/include/i386-linux-gnu/bits/stdio2.h:295
#5  cache_bread_1 (nbytes=, buf=, abfd=0x8218a08)
at cache.c:337
#6  cache_bread (abfd=0x8218a08, buf=0x8218828, nbytes=4294967295) at
cache.c:371
#7  0x08094618 in bfd_bread (ptr=0x8218828, size=4294967295, abfd=0x8218a08) at
bfdio.c:196
#8  0x08097416 in _bfd_generic_get_section_contents (abfd=0x8218a08,
section=0x8219c50, 
location=0x8218828, offset=0, count=4294967295) at libbfd.c:826
#9  0x080d19db in _bfd_elf_parse_attributes (abfd=0x8218a08, hdr=0x8219478) at
elf-attrs.c:444
#10 0x080afce9 in bfd_section_from_shdr (abfd=0x8218a08, shindex=3) at
elf.c:2465
#11 0x080ab375 in bfd_elf32_object_p (abfd=0x8218a08) at elfcode.h:805
#12 0x080958b5 in bfd_check_format_matches (abfd=0x8218a08, format=bfd_object, 
matching=0xbfffef78) at format.c:311
#13 0x0804faa8 in display_object_bfd (abfd=0x8218a08) at ./objdump.c:3663
#14 display_any_bfd (file=file@entry=0x8218a08, level=level@entry=0) at
./objdump.c:3754
#15 0x08051a54 in display_file (
filename=0xb29d
"/home/min/fuzzing/result/binutils/paper/2/objdump_x_W_pe_1_2/triage-latest/./SEGV/id:000361,sig:06,src:002944,op:fieldm,pos:652,val:+4",
target=, 
last_file=1) at ./objdump.c:3775
#16 0x0804bf70 in main (argc=3, argv=0xb094) at ./objdump.c:4077
(gdb) 


ASAN output:

==11631==ERROR: AddressSanitizer: SEGV on unknown address 0x2439a980 (pc
0x0871c7fa bp 0xbfc94668 sp 0xbfc94520 T0)
#0 0x871c7f9 in objalloc_free
/home/min/fuzzing/src/binutils/binutils-gdb/libiberty/./objalloc.c:186:17
#1 0x8308faf in bfd_hash_table_free
/home/min/fuzzing/src/binutils/binutils-gdb/bfd/hash.c:426:3
#2 0x831298d in _bfd_delete_bfd
/home/min/fuzzing/src/binutils/binutils-gdb/bfd/opncls.c:125:7
#3 0x831298d in bfd_close_all_done
/home/min/fuzzing/src/binutils/binutils-gdb/bfd/opncls.c:773
#4 0x81431fc in display_file
/home/min/fuzzing/src/binutils/binutils-gdb/binutils/./objdump.c:3788:5
#5 0x81431fc in main
/home/min/fuzzing/src/binutils/binutils-gdb/binutils/./objdump.c:4077
#6 0xb7515636 in __libc_start_main
/build/glibc-mUak1Y/glibc-2.23/csu/../csu/libc-start.c:291
#7 0x806c9a7 in _start
(/home/min/fuzzing/program/binutils-asan/bin/objdump+0x806c9a7)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV
/home/min/fuzzing/src/binutils/binutils-gdb/libiberty/./objalloc.c:186:17 in
objalloc_free


Credits:

Mingi Cho and Taekyoung Kwon of the Information Security Lab, Yonsei
University.

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

[Bug binutils/22809] Segmentation fault in bfd_section_from_shdr

2018-02-07 Thread mgcho.minic at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22809

--- Comment #1 from Mingi Cho  ---
Created attachment 10794
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10794&action=edit
PE file to trigger the 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


[Bug gas/22810] New: ld.bfd,gold,gas --help|grep compress

2018-02-07 Thread dilyan.palauzov at aegee dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22810

Bug ID: 22810
   Summary: ld.bfd,gold,gas --help|grep compress
   Product: binutils
   Version: 2.31 (HEAD)
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: dilyan.palauzov at aegee dot org
  Target Milestone: ---

ld.bfd --help prints:
  --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]
  Compress DWARF debug sections using zlib
   Default: zlib-gabi
ld.gold --help prints:
  --compress-debug-sections [none,zlib,zlib-gnu,zlib-gabi]
  Compress .debug_* sections in the output file

as --help prints:
  --compress-debug-sections[={none|zlib|zlib-gnu|zlib-gabi}]
  compress DWARF debug sections using zlib [default]
  --nocompress-debug-sections
  don't compress DWARF debug sections

Gold and gas shall print like ld.bfd, when compression is enabled by default,
which compression method is used, none being a compression method.

I think for ld.bfd things are tweaked ideally, so gold and as shall adopt this
form.  Maybe the line "Default: zlib-gabi" can be replaced by a suffix "
[zlib-gabi]" on the previous line.

For as, provided that --compress-debug-sections=none is equivalent to
--no-compress-debug-sections, the latter could be hidden from the output of as
--help.

-- 
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/22791] PLT32 should be used for 32-bit PC-relative branches

2018-02-07 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22791

H.J. Lu  changed:

   What|Removed |Added

 Target||x86-64
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-02-07
  Component|gold|gas
Version|unspecified |2.31 (HEAD)
   Assignee|ccoutant at gmail dot com  |unassigned at 
sourceware dot org
Summary|Don't error when a -pie |PLT32 should be used for
   |executable uses a shared|32-bit PC-relative branches
   |function without PIC/PIE|
   |relocation  |
 Ever confirmed|0   |1

--- Comment #15 from H.J. Lu  ---
On i386, there are 2 types of PLTs, PIC and non-PIC.  PIE and shared objects 
must use PIC PLT.  To use PIC PLT, you need to load _GLOBAL_OFFSET_TABLE_ 
into EBX first.  There is no need for that on x86-64 since x86-64 uses 
PC-relative PLT. 

For 32-bit PC-relative branches, we can generate PLT32 relocation, instead of 
PC32 relocation, which can also be used as a marker for 32-bit PC-relative 
branches.   Linker can always reduce PLT32 relocation to PC32 if function is 
defined locally.   Local functions should use PC32 relocation.

-- 
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 admin/22811] New: chunnilal 1800-(201)-2898 amazon Alexa customer support number amazon Alexa support phone number

2018-02-07 Thread bavosan at nada dot email
https://sourceware.org/bugzilla/show_bug.cgi?id=22811

Bug ID: 22811
   Summary: chunnilal 1800-(201)-2898 amazon Alexa  customer
support number  amazon Alexa  support phone number
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: admin
  Assignee: unassigned at sourceware dot org
  Reporter: bavosan at nada dot email
  Target Milestone: ---

chunnilal 1800-(201)-2898 amazon Alexa  customer support number  amazon Alexa 
support phone number
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/21EKIXYQJK7DZ
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/3EAEWSPXPGBII
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/3UR48O4K4NFN2
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/38CWI9JL3IBXZ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3BRLD4AJ29XBT
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/1VO7W881GD77H
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/2HR66E4CXE5KQ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3JX54RWK1UA82
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/21ONWDG6MEE57
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/11CVW5HKLF5
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/M8MUOUBVFV0L

-- 
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 admin/22813] New: 1800-(201)-2898 amazon echo customer support number amazon echo support phone number

2018-02-07 Thread bavosan at nada dot email
https://sourceware.org/bugzilla/show_bug.cgi?id=22813

Bug ID: 22813
   Summary: 1800-(201)-2898 amazon echo customer support number
amazon echo support phone number
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: admin
  Assignee: unassigned at sourceware dot org
  Reporter: bavosan at nada dot email
  Target Milestone: ---

1800-(201)-2898 amazon echo customer support number amazon echo support phone
numberhttps://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/21EKIXYQJK7DZ
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/3EAEWSPXPGBII
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/3UR48O4K4NFN2
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/38CWI9JL3IBXZ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3BRLD4AJ29XBT
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/1VO7W881GD77H
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/2HR66E4CXE5KQ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3JX54RWK1UA82
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/21ONWDG6MEE57
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/11CVW5HKLF5
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/M8MUOUBVFV0L

-- 
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 admin/22812] New: setapai 1800-(201)-2898 amazon Alexa customer support number @@@amazon Alexa support phone number!

2018-02-07 Thread bavosan at nada dot email
https://sourceware.org/bugzilla/show_bug.cgi?id=22812

Bug ID: 22812
   Summary: setapai 1800-(201)-2898 amazon Alexa  customer support
number @@@amazon Alexa  support phone number!
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: admin
  Assignee: unassigned at sourceware dot org
  Reporter: bavosan at nada dot email
  Target Milestone: ---

setapai 1800-(201)-2898 amazon Alexa  customer support number @@@amazon Alexa 
support phone number!

https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/21EKIXYQJK7DZ
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/3EAEWSPXPGBII
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/3UR48O4K4NFN2
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/38CWI9JL3IBXZ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3BRLD4AJ29XBT
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/1VO7W881GD77H
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/2HR66E4CXE5KQ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3JX54RWK1UA82
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/21ONWDG6MEE57
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/11CVW5HKLF5
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/M8MUOUBVFV0L

-- 
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 admin/22814] New: chunnilal 1800-(201)-2898 amazon echo customer support number amazon echo support phone number

2018-02-07 Thread bavosan at nada dot email
https://sourceware.org/bugzilla/show_bug.cgi?id=22814

Bug ID: 22814
   Summary: chunnilal 1800-(201)-2898 amazon echo customer support
number amazon echo support phone number
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: admin
  Assignee: unassigned at sourceware dot org
  Reporter: bavosan at nada dot email
  Target Milestone: ---

chunnilal 1800-(201)-2898 amazon echo customer support number amazon echo
support phone number
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/21EKIXYQJK7DZ
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/3EAEWSPXPGBII
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/3UR48O4K4NFN2
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/38CWI9JL3IBXZ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3BRLD4AJ29XBT
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/1VO7W881GD77H
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/2HR66E4CXE5KQ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3JX54RWK1UA82
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/21ONWDG6MEE57
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/11CVW5HKLF5
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/M8MUOUBVFV0L

-- 
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 admin/22816] New: Contact Us 1(800)+201-2898 Amazon Echo tech support number Support

2018-02-07 Thread bavosan at nada dot email
https://sourceware.org/bugzilla/show_bug.cgi?id=22816

Bug ID: 22816
   Summary: Contact Us 1(800)+201-2898 Amazon Echo tech support
number Support
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: admin
  Assignee: unassigned at sourceware dot org
  Reporter: bavosan at nada dot email
  Target Milestone: ---

Contact Us 1(800)+201-2898 Amazon Echo tech support number Support 
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/21EKIXYQJK7DZ
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/3EAEWSPXPGBII
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/3UR48O4K4NFN2
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/38CWI9JL3IBXZ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3BRLD4AJ29XBT
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/1VO7W881GD77H
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/2HR66E4CXE5KQ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3JX54RWK1UA82
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/21ONWDG6MEE57
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/11CVW5HKLF5
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/M8MUOUBVFV0L

-- 
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 admin/22815] New: setapai 1800-(201)-2898 amazon Alexa customer support number @@@amazon Alexa support phone number!

2018-02-07 Thread bavosan at nada dot email
https://sourceware.org/bugzilla/show_bug.cgi?id=22815

Bug ID: 22815
   Summary: setapai 1800-(201)-2898 amazon Alexa  customer support
number @@@amazon Alexa  support phone number!
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: admin
  Assignee: unassigned at sourceware dot org
  Reporter: bavosan at nada dot email
  Target Milestone: ---

setapai 1800-(201)-2898 amazon Alexa  customer support number @@@amazon Alexa 
support phone number!
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/21EKIXYQJK7DZ
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/3EAEWSPXPGBII
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/3UR48O4K4NFN2
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/38CWI9JL3IBXZ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3BRLD4AJ29XBT
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/1VO7W881GD77H
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/2HR66E4CXE5KQ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3JX54RWK1UA82
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/21ONWDG6MEE57
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/11CVW5HKLF5
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/M8MUOUBVFV0L

-- 
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 admin/22817] New: Contact Us +1(800) 201 2898 Amazon Alexa customer service number {{JajaMon

2018-02-07 Thread bavosan at nada dot email
https://sourceware.org/bugzilla/show_bug.cgi?id=22817

Bug ID: 22817
   Summary: Contact Us +1(800) 201 2898 Amazon Alexa customer
service number {{JajaMon
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: admin
  Assignee: unassigned at sourceware dot org
  Reporter: bavosan at nada dot email
  Target Milestone: ---

Contact Us +1(800) 201 2898 Amazon Alexa customer service number {{JajaMon 
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/21EKIXYQJK7DZ
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/3EAEWSPXPGBII
https://www.amazon.com/ideas/amzn1.account.AGJ3IM7HK66BIHSOK5TT4BWSQKYQ/3UR48O4K4NFN2
https://www.amazon.com/ideas/amzn1.account.AEWPAD5V6T7GRH2MYJ3H7Q5ZHVHQ/38CWI9JL3IBXZ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3BRLD4AJ29XBT
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/1VO7W881GD77H
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/2HR66E4CXE5KQ
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/3JX54RWK1UA82
https://www.amazon.com/ideas/amzn1.account.AE6B4QRANYC57GP5IPKPFRPMJRRQ/21ONWDG6MEE57
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/11CVW5HKLF5
https://www.amazon.com/ideas/amzn1.account.AGQKXY47Z54HSUPCRCMQCTH6M75A/M8MUOUBVFV0L

-- 
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 ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1

2018-02-07 Thread ro at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=13671

Rainer Orth  changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com
Version|2.22|2.30

--- Comment #1 from Rainer Orth  ---
I just had the same problem again (this time with gas/gld 2.30) on Solaris
11.4/x86:

I tried to build gcc mainline with --enable-host-shared --enable-languages=jit,
but running cc1 fails:

/var/gcc/regression/trunk/11.4-gcc-gas-gld/build/./gcc/xgcc
-B/var/gcc/regression/trunk/11.4-gcc-gas-gld/build/./gcc/ -xc -nostdinc
/dev/null -S -o /dev/null
-fself-test=/vol/gcc/src/hg/trunk/solaris/gcc/testsuite/selftests
ld.so.1: cc1: fatal: relocation error: R_386_UNKNOWN37: file
/var/gcc/regression/trunk/11.4-gcc-gas-gld/build/gcc/cc1: symbol __gmpfr_emin:
offset size (0 bytes) is not supported
xgcc: fatal error: Killed signal terminated program cc1
compilation terminated.
make[3]: *** [Makefile:1972: s-selftest-c] Error 1

R_386_UNKNOWN37 above is R_386_TLS_TPOFF32, and the current (Solaris 11.4)
 has

#define R_386_UNKNOWN24 24
#define R_386_UNKNOWN25 25
#define R_386_UNKNOWN26 26
#define R_386_UNKNOWN27 27
#define R_386_UNKNOWN28 28
#define R_386_UNKNOWN29 29
#define R_386_UNKNOWN30 30
#define R_386_UNKNOWN31 31

#define R_386_UNKNOWN37 37  /* reserved for future expansion */
#define R_386_SIZE3238  /* reserved for future expansion */
#define R_386_TLS_GOTDESC   39  /* reserved for future expansion */
#define R_386_TLS_DESC_CALL 40  /* reserved for future expansion */
#define R_386_TLS_DESC  41  /* reserved for future expansion */
#define R_386_IRELATIVE 42  /* GNU/Linux specific (STT_GNU_IFUNC)
*/

  Rainer

-- 
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 ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1

2018-02-07 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=13671

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |WAITING

--- Comment #2 from H.J. Lu  ---
These TLS transitions should be disabled for Solaris.
Does Solaris support Linux TLS relocations without
TLS transitions?

-- 
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 ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1

2018-02-07 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://sourceware.org/bugzilla/show_bug.cgi?id=13671

--- Comment #3 from Rainer Orth  ---
> --- Comment #2 from H.J. Lu  ---
> These TLS transitions should be disabled for Solaris.
> Does Solaris support Linux TLS relocations without
> TLS transitions?

The full docs on what Solaris does support wrt. relocs is here:

https://docs.oracle.com/cd/E37838_01/html/E36783/chapter6-54839.html#scrolltoc

And there's also a section on TLS:

https://docs.oracle.com/cd/E37838_01/html/E36783/man-tlsam.html#scrolltoc

-- 
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/22791] PLT32 should be used for 32-bit PC-relative branches

2018-02-07 Thread rafael.espindola at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22791

--- Comment #16 from Rafael Ávila de Espíndola  ---
> > If your argument is that you can always treat PC32 relocations on branches
> > as if they were PLT32 relocations, why not just have the compiler emit PLT32
> > relocations in the first place?
> 
> Yes, this patch does that:
> 
> https://sourceware.org/ml/binutils/2018-02/msg00074.html

If I understand it correctly, the idea is to generate a R_X86_64_PLT32 for
"call foo" but a R_86_64_PC32 for ".long foo - .". If that is indeed what the
patch is doing, I love it :-)

-- 
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/22791] PLT32 should be used for 32-bit PC-relative branches

2018-02-07 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22791

--- Comment #17 from H.J. Lu  ---
(In reply to Rafael Ávila de Espíndola from comment #16)
> > > If your argument is that you can always treat PC32 relocations on branches
> > > as if they were PLT32 relocations, why not just have the compiler emit 
> > > PLT32
> > > relocations in the first place?
> > 
> > Yes, this patch does that:
> > 
> > https://sourceware.org/ml/binutils/2018-02/msg00074.html
> 
> If I understand it correctly, the idea is to generate a R_X86_64_PLT32 for
> "call foo" but a R_86_64_PC32 for ".long foo - .". If that is indeed what
> the patch is doing, I love it :-)

Yes, that is what patch does.  My current patch is at

https://github.com/hjl-tools/binutils-gdb/commit/80de23823c97db558436c9ad13d6728f43329706

-- 
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 ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1

2018-02-07 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=13671

--- Comment #4 from H.J. Lu  ---
I don't think ld supports Solaris/x86 TLS.

-- 
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 ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1

2018-02-07 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://sourceware.org/bugzilla/show_bug.cgi?id=13671

--- Comment #5 from Rainer Orth  ---
I don't think it needs to: gcc is careful only to emit those tls relocs
that the whole toolchain (assembler + linker) can handle.  See
TARGET_SUN_TLS, HAVE_AS_IX86_TLSLDMPLT, and HAVE_AS_IX86_TLSGDPLT.  So
far gcc bootstraps with gas and gld work just fine: this is one of the
first cases where gld emits relocs Solaris ld.so.1 cannot handle.

-- 
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 ld/13671] gld creates i386 relocations not supported by Solaris ld.so.1

2018-02-07 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=13671

--- Comment #6 from H.J. Lu  ---
(In reply to Rainer Orth from comment #5)
> I don't think it needs to: gcc is careful only to emit those tls relocs
> that the whole toolchain (assembler + linker) can handle.  See
> TARGET_SUN_TLS, HAVE_AS_IX86_TLSLDMPLT, and HAVE_AS_IX86_TLSGDPLT.  So
> far gcc bootstraps with gas and gld work just fine: this is one of the
> first cases where gld emits relocs Solaris ld.so.1 cannot handle.

Please provide one separate testcase in assembly code for each instance
where ld creates dynamic relocs Solaris ld.so.1 cannot handle.

-- 
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/22819] powerpc gas "instruction address is not a multiple of 4"

2018-02-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22819

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com

-- 
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/22819] New: powerpc gas "instruction address is not a multiple of 4"

2018-02-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22819

Bug ID: 22819
   Summary: powerpc gas "instruction address is not a multiple of
4"
   Product: binutils
   Version: 2.31 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: amodra at gmail dot com
  Target Milestone: ---

powerpc gas wrongly errors on the following

 .text
 .byte 1

 .rept 65536
 .long 0
 .endr

 .byte 2,3,4

 .rept 65536
 nop
 .endr

-- 
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/22819] powerpc gas "instruction address is not a multiple of 4"

2018-02-07 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22819

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

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

commit a9479dc051ab00f311c04cdd5b299a70739f67ed
Author: Alan Modra 
Date:   Thu Feb 8 10:18:59 2018 +1030

PR22819, powerpc gas "instruction address is not a multiple of 4"

Checks for insn alignment were hopelessly confused when misaligned
data starts a new frag.  The real-world testcase happened to run out
of frag space in the middle of emitting a trace-back table via
something like:
.byte 0 /* VERSION=0 */
.byte 9 /* LANG=C++ */
.byte 34/* Bits on: has_tboff, fp_present */
.byte 64/* Bits on: name_present */
.byte 128   /* Bits on: stores_bc, FP_SAVED=0 */
.byte 0 /* Bits on: GP_SAVED=0 */
.byte 2 /* FIXEDPARMS=2 */
.byte 1 /* FLOATPARMS=0, parmsonstk */
.long 0
.long 768   /* tb_offset: 0x300 */
.hword 45   /* Function name length: 45 */
.long 0x334e5a5f
.long 0x31766f70
.long 0x65744932
.long 0x69746172
.long 0x7a5f6e6f
.long 0x64504533
.long 0x5f534e50
.long 0x72463431
.long 0x61746361
.long 0x74535f6c
.long 0x74637572
.byte 0x45
.byte 0
The trigger being those misaligned .long's output for the function
name.  A most horrible way to output a string, especially considering
endian issues..

PR 22819
* config/tc-ppc.c (md_assemble): Rewrite insn alignment checking.
(ppc_frag_check): Likewise.
* testsuite/gas/ppc/misalign.d,
* testsuite/gas/ppc/misalign.l,
* testsuite/gas/ppc/misalign.s: New test.
* testsuite/gas/ppc/misalign2.d,
* testsuite/gas/ppc/misalign2.s: New test.
* testsuite/gas/ppc/ppc.exp: Run them.

-- 
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/22819] powerpc gas "instruction address is not a multiple of 4"

2018-02-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22819

Alan Modra  changed:

   What|Removed |Added

 Target||powerpc*-*
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |2.31

--- Comment #2 from Alan Modra  ---
Fixed

-- 
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 binutils/22788] AddressSanitizer: SEGV /home/ubuntu/binutils/binutils_git/binutils-gdb/bfd/libbfd.c:558 bfd_getl32

2018-02-07 Thread hizhangsword at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22788

--- Comment #2 from JayZhang  ---
Hi Nick,
   The patch you provided fixed the problem. Good job!
   I tried to read the code of elf_parse_notes(),and analyze the crafted file's
structure,and found that the value of sh_addralign is 2^28;So,Is that the
invalid sh_addralign value leads to a out of bounds reading?

   Best Regards
   JayZhang

-- 
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 admin/22813] 1800-(201)-2898 amazon echo customer support number amazon echo support phone number

2018-02-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22813

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Alan Modra  ---
spam

-- 
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 admin/22812] setapai 1800-(201)-2898 amazon Alexa customer support number @@@amazon Alexa support phone number!

2018-02-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22812

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Alan Modra  ---
spam

-- 
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 admin/22811] chunnilal 1800-(201)-2898 amazon Alexa customer support number amazon Alexa support phone number

2018-02-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22811

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Alan Modra  ---
spam

-- 
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 admin/22816] Contact Us 1(800)+201-2898 Amazon Echo tech support number Support

2018-02-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22816

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Alan Modra  ---
spam

-- 
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 admin/22814] chunnilal 1800-(201)-2898 amazon echo customer support number amazon echo support phone number

2018-02-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22814

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Alan Modra  ---
spam

-- 
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 admin/22815] setapai 1800-(201)-2898 amazon Alexa customer support number @@@amazon Alexa support phone number!

2018-02-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22815

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Alan Modra  ---
spam

-- 
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 admin/22817] Contact Us +1(800) 201 2898 Amazon Alexa customer service number {{JajaMon

2018-02-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22817

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Alan Modra  ---
spam

-- 
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 binutils/22802] massive performance regression for `readelf -n`

2018-02-07 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22802

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-02-08
 CC||amodra at gmail dot com
 Ever confirmed|0   |1

--- Comment #1 from Alan Modra  ---
Started with commit dda8d76d0d

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