ffmpeg/libavutil
Timothy Gu 204b228a1d x86inc: Clear __SECT__
This commit 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: Michael Niedermayer <michaelni@gmx.at>
2015-05-28 00:08:37 +02:00
..
2015-05-28 00:08:37 +02:00
2014-04-07 01:31:02 +02:00
2014-04-07 01:31:02 +02:00
2012-10-28 14:33:41 +01:00
2012-12-05 20:25:32 +01:00
2014-08-05 01:54:47 +02:00
2015-05-02 14:37:48 +02:00
2014-12-19 14:35:29 +01:00
2015-03-20 15:47:31 -03:00
2015-05-27 03:31:11 -03:00
2015-05-27 03:31:11 -03:00
2014-07-12 22:33:27 +02:00
2014-07-12 22:33:27 +02:00
2014-04-01 17:36:33 +02:00
2014-04-29 13:24:11 +02:00
2013-06-12 01:47:42 +02:00
2014-11-08 11:31:11 +01:00
2014-10-11 12:15:26 +02:00
2014-06-03 10:58:19 -08:00
2014-09-05 00:43:48 +02:00
2013-06-15 02:22:39 +02:00
2013-05-13 21:42:37 +02:00
2015-05-03 16:37:04 +02:00
2014-08-05 21:05:52 +02:00
2015-05-26 18:31:53 +02:00
2015-05-26 18:31:53 +02:00
2013-06-15 18:54:01 -03:00
2013-06-02 11:27:19 +02:00
2012-10-28 14:33:41 +01:00
2014-05-26 11:40:15 +02:00
2014-05-26 11:40:15 +02:00
2014-05-28 03:25:41 +02:00
2015-02-18 00:59:55 +01:00
2013-11-22 17:16:11 +01:00
2014-04-07 01:31:36 +02:00
2014-04-07 01:31:36 +02:00