4cc2bf08a4
This: int end[100000]; int main(void) { end[99999] = 0; return 0; } should not segfault. ld/ * ldexp.c (exp_fold_tree_1 <etree_provide>): Leave bfd_link_hash_common symbols alone. ld/testsuite/ * ld-elf/endsym.s, *ld-elf/endsym.d: New test.
14 lines
134 B
Makefile
14 lines
134 B
Makefile
#source: start.s
|
|
#source: endsym.s
|
|
#ld: --sort-common
|
|
#nm: -n
|
|
#notarget: hppa*-*-hpux*
|
|
|
|
#...
|
|
.* end
|
|
#...
|
|
.* end2
|
|
#...
|
|
.* _?_end
|
|
#pass
|