https://sourceware.org/bugzilla/show_bug.cgi?id=21970
huang zhenyu changed:
What|Removed |Added
CC||zyfwong at gmail dot com
--
You are
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: zyfwong at gmail dot com
Target Milestone: ---
OVERLAY : SUBALIGN(4)
{
.text : {*(.text);}
}
OVERLAY : SUBALIGN(4)
{
.data : {*(.data);}
}
this script will
https://sourceware.org/bugzilla/show_bug.cgi?id=20267
--- Comment #4 from huang zhenyu ---
(In reply to H.J. Lu from comment #2)
> (In reply to huang zhenyu from comment #0)
>
> > If I add one more check after `bfd_check_format`, it seems that the problem
> > is fixed:
> >
> > if (abfd->plugi
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: zyfwong at gmail dot com
Target Milestone: ---
=== foo.c
int global_var;
=== main.c
int global_var;
int main(void)
{
return global_var;
}
void _start()
{
main();
}
=== Compile ===
$ clang