Timothy Gu
dd4d709be7
x86inc: Clear __SECT__
...
Silences warning(s) like:
libavcodec/x86/fft.asm:93: warning: section flags ignored on
section redeclaration
The cause of this warning is that because `struc` and `endstruc`
attempts to revert to the previous section state [1].
The section state is stored in the macro __SECT__, defined by
x86inc.asm to be `.note.GNU-stack ...`, through the `SECTION`
directive [2].
Thus, the `.note.GNU-stack` section is defined twice
(once in x86inc.asm, once during `endstruc`), causing the warning.
That is the first part of the commit: using the primitive `[section]` format
for .note.GNU-stack etc., which does not update `__SECT__` [2].
That fixes only half of the problem. Even without any `SECTION` directives,
`__SECT__` is predefined as `.text`, which conflicting with the later
`SECTION_TEXT` (which expands to `.text align=16`).
[1]: http://www.nasm.us/doc/nasmdoc6.html#section-6.4
[2]: http://www.nasm.us/doc/nasmdoc6.html#section-6.3
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-05-28 11:40:15 +02:00
..
2014-12-09 11:43:31 +02:00
2015-03-07 17:10:08 +02:00
2011-03-19 13:33:20 +00:00
2014-06-02 08:41:47 -07:00
2012-05-09 13:45:22 +01:00
2014-09-03 02:38:03 +02:00
2011-03-19 13:33:20 +00:00
2013-02-20 00:45:30 +01:00
2015-05-28 11:40:15 +02:00
2014-04-07 01:31:02 +02:00
2014-04-07 01:31:02 +02:00
2014-01-25 21:50:20 +01:00
2012-10-11 23:35:27 +03:00
2013-03-09 08:36:40 +01:00
2013-03-08 12:00:06 +02:00
2014-08-15 09:52:57 +02:00
2014-02-19 15:12:37 +01:00
2013-12-20 11:23:13 +01:00
2013-11-03 11:51:40 +01:00
2012-08-15 22:32:06 +03:00
2014-07-06 11:44:10 -07:00
2012-11-11 13:35:12 -05:00
2011-05-21 13:48:10 +02:00
2014-07-29 17:46:29 +02:00
2014-11-07 11:57:16 +02:00
2014-04-22 17:35:51 -04:00
2013-10-25 11:06:32 +01:00
2011-11-22 17:16:02 +01:00
2013-09-10 12:38:41 +02:00
2012-07-04 15:10:57 +03:00
2014-01-14 22:19:38 +01:00
2014-11-27 13:36:00 +01:00
2014-11-27 13:36:00 +01:00
2013-04-30 13:33:43 -04:00
2013-11-23 21:55:52 +01:00
2014-01-05 16:41:56 +01:00
2011-03-19 13:33:20 +00:00
2015-02-21 00:54:40 +01:00
2014-01-15 12:05:09 +01:00
2015-04-19 23:45:35 +01:00
2014-04-06 21:18:49 +02:00
2014-04-17 20:08:19 +02:00
2014-04-17 20:08:19 +02:00
2013-09-10 12:38:41 +02:00
2011-09-21 08:28:20 +02:00
2015-01-29 14:59:57 +00:00
2014-06-05 09:16:15 -07:00
2015-03-23 20:53:28 +00:00
2015-03-23 20:53:28 +00:00
2014-02-15 22:24:53 +01:00
2014-02-15 22:24:53 +01:00
2012-10-21 22:38:21 +02:00
2014-08-10 14:26:37 +02:00
2014-08-15 03:18:18 -07:00
2011-12-11 00:32:25 +01:00
2013-07-06 14:28:06 +02:00
2012-10-23 07:33:05 +02:00
2014-11-27 09:29:17 +02:00
2015-02-14 10:13:49 -08:00
2012-08-15 22:32:06 +03:00
2014-03-22 14:11:22 +01:00
2014-03-18 22:56:07 +01:00
2014-12-18 23:22:59 +01:00
2015-02-08 21:28:31 +01:00
2013-05-04 22:48:05 +02:00
2013-01-15 11:54:19 +02:00
2015-01-14 17:17:24 +01:00
2015-03-17 23:53:33 +02:00
2014-11-24 01:30:14 +00:00
2012-07-02 14:05:40 +03:00
2012-11-05 15:32:29 -05:00
2012-11-05 15:32:29 -05:00
2012-10-23 16:54:08 +02:00
2012-10-01 10:24:28 +02:00
2012-10-06 09:27:11 +02:00
2012-10-23 07:33:05 +02:00
2012-10-23 12:00:21 +01:00
2013-06-29 13:23:57 +02:00
2013-06-29 13:23:57 +02:00
2012-10-12 20:39:17 +02:00
2015-04-20 19:20:57 +01:00
2015-04-19 12:41:59 +01:00
2014-06-23 10:20:57 +02:00
2012-10-25 11:36:57 +02:00
2013-12-29 22:52:04 +01:00
2014-05-19 13:13:10 +02:00
2014-05-03 18:31:18 +02:00
2012-07-01 19:06:13 +03:00
2012-12-04 21:40:22 +01:00
2012-10-11 23:35:27 +03:00
2015-02-01 02:28:40 +01:00
2014-08-13 17:24:18 +00:00
2013-11-13 21:07:45 +01:00
2015-01-05 14:58:20 +01:00
2014-11-11 11:49:55 +01:00
2015-04-07 12:36:11 +02:00
2015-04-07 12:36:11 +02:00
2015-05-25 11:47:08 +02:00
2014-10-08 18:17:49 +01:00
2015-05-25 11:47:08 +02:00
2014-01-06 18:53:58 +02:00
2011-11-22 17:16:02 +01:00
2013-05-15 23:01:21 +02:00
2012-08-05 17:46:41 +01:00
2011-03-19 13:33:20 +00:00
2011-06-24 00:37:49 +02:00
2014-04-04 17:40:19 +02:00
2014-02-04 12:32:47 -05:00
2014-07-06 11:44:01 -07:00
2013-05-04 22:48:05 +02:00
2012-10-11 23:35:27 +03:00
2014-08-13 17:24:18 +00:00
2014-06-19 17:31:49 -04:00
2014-12-14 18:15:57 +01:00
2014-10-26 00:14:54 +03:00
2014-10-24 09:53:41 +03:00
2014-10-24 09:53:41 +03:00
2014-03-09 00:45:34 +01:00
2013-10-24 10:59:26 +01:00
2013-07-31 18:14:08 +02:00
2014-04-22 16:32:35 -04:00
2015-05-25 11:47:08 +02:00
2014-11-27 09:29:17 +02:00
2014-04-07 01:31:36 +02:00
2014-04-07 01:31:36 +02:00