1.1 --- a/stage2/stage2.ld Mon Apr 25 17:19:53 2016 +0200
1.2 +++ b/stage2/stage2.ld Tue Apr 26 13:23:06 2016 +0200
1.3 @@ -17,16 +17,18 @@
1.4 . = ALIGN(4);
1.5 .data : { *(.data*) *(.scommon*) *(.reginfo*) }
1.6
1.7 - _gp = ALIGN(16);
1.8 -
1.9 - _got_start = ABSOLUTE(.);
1.10 - .got : { *(.got*) }
1.11 + .got : ALIGN(4096) {
1.12 + _gp = ALIGN(16);
1.13 + _got_start = ABSOLUTE(.);
1.14 + *(.got*)
1.15 + }
1.16 _got_end = ABSOLUTE(.);
1.17
1.18 - _gp_copy = ALIGN(16);
1.19 -
1.20 - _got_copy_start = ABSOLUTE(.);
1.21 - . += _got_end - _got_start;
1.22 + .got_copy : ALIGN(4096) {
1.23 + _gp_copy = ALIGN(16);
1.24 + _got_copy_start = ABSOLUTE(.);
1.25 + . += _got_end - _got_start;
1.26 + }
1.27 _got_copy_end = ABSOLUTE(.);
1.28
1.29 . = ALIGN(4);