[Bug binutils/24910] buffer overflow in byte_get_little_endian

2019-08-17 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24910

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||amodra at gmail dot com
Version|2.33 (HEAD) |2.32
 Resolution|--- |WORKSFORME
   Severity|critical|normal

--- Comment #1 from Alan Modra  ---
Already fixed on master.

-- 
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/24911] Heap overflow issue in qsort_r, dwarf.c

2019-08-17 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24911

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

commit d367307b93e5589245d1f2c8bbcfe709404540a8
Author: Alan Modra 
Date:   Sat Aug 17 18:01:05 2019 +0930

PR24911, Heap overflow issue in qsort_r, dwarf.c

The actual args to this function are "pointers to pointers to
debug_info".

PR 24911
* dwarf.c (comp_addr_base): Dereference args.

-- 
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/24911] Heap overflow issue in qsort_r, dwarf.c

2019-08-17 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24911

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
   Target Milestone|--- |2.33
   Severity|critical|normal

--- 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 ld/24838] /etc/ld.so.preload.d drop-in configuration folder support

2019-08-17 Thread adrelanos at riseup dot net
https://sourceware.org/bugzilla/show_bug.cgi?id=24838

--- Comment #2 from adrelanos at riseup dot net ---
Thanks, created https://sourceware.org/bugzilla/show_bug.cgi?id=24913 for 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


goldlinker error: internal error in address

2019-08-17 Thread Xia Zhou
Hi, I'm working on using LLVM/Clang to build stm32 projects and I selected
goldlinker to acquire the final LLVM bitcode.

However, when I switched from ld.lld to goldlinker, I met this problem:

/home/binutils_all/build/gold/ld-new: internal error in address, at
../../binutils/gold/output.h:197
clang-9: error: ld.lld command failed with exit code 1 (use -v to see
invocation)

And my final command is:
/home/llvm-project/build/bin/clang-9 --target=arm-none-eabi -flto
-fuse-ld=/home/binutils_all/build/gold/ld-new  \
build/main.o build/gpio.o build/stm32f1xx_it.o build/stm32f1xx_hal_msp.o
build/stm32f1xx_hal_gpio_ex.o build/stm32f1xx_hal_tim.o
build/stm32f1xx_hal_tim_ex.o build/stm32f1xx_hal.o
build/stm32f1xx_hal_rcc.o build/stm32f1xx_hal_rcc_ex.o
build/stm32f1xx_hal_gpio.o build/stm32f1xx_hal_dma.o
build/stm32f1xx_hal_cortex.o build/stm32f1xx_hal_pwr.o
build/stm32f1xx_hal_flash.o build/stm32f1xx_hal_flash_ex.o
build/stm32f1xx_hal_exti.o build/system_stm32f1xx.o
build/startup_stm32f103xe.o \
-TSTM32F103ZETx_FLASH.ld \
-L/usr/arm-linux-gnueabihf/lib/
-L/home/gcc-arm-none-eabi-5_4-2016q3/arm-none-eabi/lib
-I/home/gcc-arm-none-eabi-5_4-2016q3/arm-none-eabi/include
-L/home/llvm-project/build-compiler-rt-baremetal/lib/baremetal \
-o build/led4.elf

Does anyone know how to fix this problem?
Thanks in advance!
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/24911] Heap overflow issue in qsort_r, dwarf.c

2019-08-17 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24911

--- Comment #3 from cvs-commit at gcc dot gnu.org  ---
The binutils-2_32-branch branch has been updated by Alan Modra
:

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

commit 4bc59a5ab53c4cf43993e48d9a7eb5055d7b4e51
Author: Alan Modra 
Date:   Sat Aug 17 18:01:05 2019 +0930

PR24911, Heap overflow issue in qsort_r, dwarf.c

The actual args to this function are "pointers to pointers to
debug_info".

PR 24911
* dwarf.c (comp_addr_base): Dereference args.

(cherry picked from commit d367307b93e5589245d1f2c8bbcfe709404540a8)

-- 
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/23499] Incorrect code in bfd_elf_record_link_assignment

2019-08-17 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=23499

--- Comment #11 from cvs-commit at gcc dot gnu.org  ---
The binutils-2_32-branch branch has been updated by Alan Modra
:

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

commit e8d25d40456520c8890937915df77dbd2d748d76
Author: Alan Modra 
Date:   Fri Aug 16 15:17:23 2019 +0930

PR24909, Uninitialized use on stack in readelf

PR 24909
PR 23499
* readelf.c (get_symbol_version_string): Set sym_info earlier.

(cherry picked from commit 0b8b76098ff3d3dcd0c621f2e45cc0b4e7211d6a)

-- 
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/24909] Uninitialized use on stack in readelf

2019-08-17 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24909

--- Comment #3 from cvs-commit at gcc dot gnu.org  ---
The binutils-2_32-branch branch has been updated by Alan Modra
:

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

commit e8d25d40456520c8890937915df77dbd2d748d76
Author: Alan Modra 
Date:   Fri Aug 16 15:17:23 2019 +0930

PR24909, Uninitialized use on stack in readelf

PR 24909
PR 23499
* readelf.c (get_symbol_version_string): Set sym_info earlier.

(cherry picked from commit 0b8b76098ff3d3dcd0c621f2e45cc0b4e7211d6a)

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