http://sourceware.org/bugzilla/show_bug.cgi?id=14600
Bug #: 14600
Summary: Thumb: constant expression expected while expression
is statically calculable
Product: binutils
Version: 2.24 (HEAD)
Status: NEW
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #13 from Ignacy Gawędzki 2012-04-12
10:22:55 UTC ---
(In reply to comment #12)
> Created attachment 6337 [details]
> A patch
>
> This patch removes the empty relocation sections.
I confirm that both patches together fix the bug.
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #10 from Ignacy Gawędzki 2012-04-11
18:52:25 UTC ---
Created attachment 6335
--> http://sourceware.org/bugzilla/attachment.cgi?id=6335
The executable unstripped
This is the executable as output by ld.
--
Configure bugmail: htt
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #8 from Ignacy Gawędzki 2012-04-11
16:19:13 UTC ---
(In reply to comment #7)
> Please provide outputs of "readelf -Sl" on each ld/strip result.
Sure, here you are. After building the executable:
There are 34 section headers, sta
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #6 from Ignacy Gawędzki 2012-04-11
11:40:52 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > Created attachment 6333 [details]
> > > A patch
> >
> > I just tried this patch and it does
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #4 from Ignacy Gawędzki 2012-04-10
07:54:49 UTC ---
(In reply to comment #3)
> Created attachment 6333 [details]
> A patch
I just tried this patch and it doesn't seem to fix anything. I rebuilt all of
binutils after applying it,
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
Bug #: 13947
Summary: Strip applied twice corrupts binaries compiled with
--emit-relocs
Product: binutils
Version: unspecified
Status: NEW
Severity: normal