Kai Nacke
e7fdbafe2d
Fix generation of position-independent code.
...
The new module discovery scheme requires the following section order:
.minfo_beg
.minfo
.minfo_end
This works for non-PIC code because the segments have the same attributes.
However, if -relocation-model=pic is passed to ldc2 then the .minfo section
becomes writeable and the sequence of sections is changed.
The quick fix is to mark the data always as writeable. Then all sections are
always writeable.
I think a better solution would be to base this in the used relocation model.
But this information is currently only available in the driver.
This fixes the failure in test case runnable/eh2.d
2013-12-18 16:54:49 +01:00
..
2013-12-05 08:40:04 +01:00
2013-06-17 13:31:21 +02:00
2013-10-29 19:21:15 +01:00
2013-02-10 22:08:35 +01:00
2013-10-05 19:03:03 +04:00
2013-03-29 20:15:37 +01:00
2013-10-05 19:03:03 +04:00
2013-02-10 22:08:35 +01:00
2013-10-29 19:21:15 +01:00
2013-02-07 21:20:55 +01:00
2013-10-05 19:03:03 +04:00
2013-02-07 21:20:55 +01:00
2013-10-05 19:03:03 +04:00
2013-10-29 19:21:15 +01:00
2013-12-16 17:32:01 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-07-29 00:04:08 +02:00
2013-03-06 18:18:00 +01:00
2013-02-07 21:20:55 +01:00
2013-10-29 19:21:15 +01:00
2013-11-28 07:59:01 +01:00
2013-10-29 19:21:15 +01:00
2013-03-17 00:50:05 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-11-26 08:00:10 +01:00
2013-10-29 19:21:15 +01:00
2013-10-05 19:03:03 +04:00
2013-10-29 19:21:15 +01:00
2013-11-05 10:47:43 +01:00
2013-10-29 19:21:15 +01:00
2013-07-29 00:04:08 +02:00
2013-10-29 19:21:15 +01:00
2012-12-16 17:19:14 +01:00
2012-12-16 17:19:14 +01:00
2013-02-07 21:20:55 +01:00
2013-05-31 20:48:38 +02:00
2013-12-08 14:37:15 +04:00
2013-10-13 21:37:53 +02:00
2013-10-15 01:50:44 +02:00
2013-02-07 21:20:55 +01:00
2013-06-07 02:48:53 +02:00
2013-12-18 16:54:49 +01:00
2013-10-29 19:21:15 +01:00
2013-12-08 19:29:10 +01:00
2013-03-06 18:18:00 +01:00
2013-11-05 13:03:52 +01:00
2013-11-05 13:03:52 +01:00
2013-03-06 18:18:00 +01:00
2013-10-29 19:21:15 +01:00
2013-06-29 14:20:44 +02:00
2013-06-29 14:20:44 +02:00
2013-10-13 19:18:24 +02:00
2013-10-29 19:21:15 +01:00
2013-12-12 20:02:45 +01:00
2013-10-24 00:25:36 +02:00
2013-11-20 17:00:37 +01:00
2013-11-26 08:00:10 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-12-16 17:32:01 +01:00
2013-11-04 02:24:02 +01:00
2013-11-04 02:21:05 +01:00
2013-10-29 19:21:15 +01:00
2013-12-08 14:43:45 +04:00
2013-10-29 19:21:15 +01:00
2013-02-07 21:20:55 +01:00
2013-02-07 21:20:55 +01:00