https://sourceware.org/bugzilla/show_bug.cgi?id=23863
Bug ID: 23863
Summary: binutils-2.31.1 stack buffer overflow in nm -C
Product: binutils
Version: 2.31
Status: UNCONFIRMED
Severity: normal
Priority: P2
https://sourceware.org/bugzilla/show_bug.cgi?id=23728
--- Comment #5 from Roman Bolshakov ---
I'm wrapping up a patch series that adds full support for parsing and printing
of LC_BUILD_VERSION.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #26 from Stas Sergeev ---
By the way, is it a feature of this
bugzilla to open the entirely different
bug ticket after I post any comment?
This always makes me worry that I posted
to wrong thread.
For example, when I post to
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #25 from Stas Sergeev ---
> What your code did is outside of scope of i386 psABI.
Why not linker tells me so with an error msg?(In reply to H.J. Lu from comment
#24)
> (In reply to Stas Sergeev from comment #23)
> > > What your
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #24 from H.J. Lu ---
(In reply to Stas Sergeev from comment #23)
> > What your code did is outside of scope of i386 psABI.
>
> Why not linker tells me so with an error msg?
There are many corner cases linker doesn't check. You
https://sourceware.org/bugzilla/show_bug.cgi?id=23746
Roman Bolshakov changed:
What|Removed |Added
CC||roolebo at gmail dot com
---
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #23 from Stas Sergeev ---
> What your code did is outside of scope of i386 psABI.
Why not linker tells me so with an error msg?
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #22 from H.J. Lu ---
(In reply to Stas Sergeev from comment #20)
> I disasmed and diffed the object files
> without and with your patch. I see a lot of:
> ---
> 597,598c597,598
> < 745: 8d 74 26 00 lea
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #21 from H.J. Lu ---
(In reply to Stas Sergeev from comment #19)
> > H.J. Lu changed:
> > Your code doesn't conform to i386 psABI, which doesn't
> > support only using lower 16 bits of GOT entries.
> I would understand if linker
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #20 from Stas Sergeev ---
I disasmed and diffed the object files
without and with your patch. I see a lot of:
---
597,598c597,598
< 745: 8d 74 26 00 lea0x0(%esi,%eiz,1),%esi
< 749: 8d bc 27 00 00
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #19 from Stas Sergeev ---
> H.J. Lu changed:
> Your code doesn't conform to i386 psABI, which doesn't
> support only using lower 16 bits of GOT entries.
I would understand if linker writes me such an error.
Silently producing
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #18 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by H.J. Lu :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a4749e56cacefdc1a571231744a9b87a3f5458b9
commit
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #17 from H.J. Lu ---
(In reply to Stas Sergeev from comment #16)
> > H.J. Lu changed:
> > Please try:
> >
> > https://sourceware.org/ml/binutils/2018-11/msg00021.html
> >
> > You need to compile with the new assembler.
>
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #16 from Stas Sergeev ---
> H.J. Lu changed:
> Please try:
>
> https://sourceware.org/ml/binutils/2018-11/msg00021.html
>
> You need to compile with the new assembler.
Building your git now...
However. Are there really no hopes
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #15 from H.J. Lu ---
(In reply to Stas Sergeev from comment #14)
> > H.J. Lu changed:
> >
> >What|Removed |Added
> >
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #14 from Stas Sergeev ---
> H.J. Lu changed:
>
>What|Removed |Added
>
> Component|ld
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
H.J. Lu changed:
What|Removed |Added
Component|ld |gas
--
You are receiving this mail
https://sourceware.org/bugzilla/show_bug.cgi?id=23728
Roman Bolshakov changed:
What|Removed |Added
CC||roolebo at gmail dot com
--
You
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #13 from H.J. Lu ---
(In reply to Stas Sergeev from comment #12)
> > > Btw, could you please explain why the problem
> > > only happens with -export-dynamic? This doesn't
> > > seem to be related to the generated asm, AFAICT.
> >
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #12 from Stas Sergeev ---
(In reply to H.J. Lu from comment #11)
> Please add -fno-pie as workaround.
Done.
This works properly.
Thank you.
> > Btw, could you please explain why the problem
> > only happens with -export-dynamic?
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #11 from H.J. Lu ---
(In reply to Stas Sergeev from comment #9)
> (In reply to H.J. Lu from comment #6)
> > Please provide pre-processed dpmi.c from gcc -E and command-line
> > options to generate dpmi.s
> gcc -xc -S -fverbose-asm
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
H.J. Lu changed:
What|Removed |Added
Target||i386,x86-64
Status|WAITING
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #9 from Stas Sergeev ---
(In reply to H.J. Lu from comment #6)
> Please provide pre-processed dpmi.c from gcc -E and command-line
> options to generate dpmi.s
gcc -xc -S -fverbose-asm -O -o dpmi.s dpmi.E
gcc version 7.3.0 (Ubuntu
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #8 from Stas Sergeev ---
Created attachment 11381
--> https://sourceware.org/bugzilla/attachment.cgi?id=11381=edit
preprocessed output
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=23854
--- Comment #7 from Stas Sergeev ---
Created attachment 11379
--> https://sourceware.org/bugzilla/attachment.cgi?id=11379=edit
verbose asm
> Please provide pre-processed dpmi.c from gcc -E and command-line
> options to generate dpmi.s
25 matches
Mail list logo