]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commit
win32, dos: Work around a bug in the GNU toolchain.
authorramiro <ramiro@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 13 Apr 2009 22:54:21 +0000 (22:54 +0000)
committerramiro <ramiro@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 13 Apr 2009 22:54:21 +0000 (22:54 +0000)
commitdfa6c24091f37d785c5ddaa68e566176095c25e1
tree9a352e4c230b0e115412f7db702a9982d04d6077
parent9c2ccc03e849c6dcfc4c4bb9839fd8d670e03dae
win32, dos: Work around a bug in the GNU toolchain.
The bug[1] is exposed when gcc decides to put some data in a common
section (i.e. data that will be used by more than one object). It will
suggest the data to be aligned, but binutils >= 2.19 will fail to
properly align it. Thus if the data requires any alignment greater
than 4, the application will crash.
The workaround prevents gcc from putting data in a common section,
instead putting it in a properly aligned section.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18501 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
configure