This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: PATCH: PATCH: PR target/39545: Structures with flexible array member passed/returned incorrectly
On Sun, Mar 29, 2009 at 8:38 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
>> Hi,
>>
>> This is a P1 ABI and wrong code bug on x86-64. A patch is posted at
>>
>> http://gcc.gnu.org/ml/gcc-patches/2009-03/msg01161.html
>>
>> If there are no objections in 24 hours, I will apply it to trunk and
>> 4.4 branch.
>
> This is fine. ?Sorry for the delays, I needed some time to look through
> the patch and there was bit too many items on my TODO list recently :(
>
> Honza
Hi Honza,
Can you take a look at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39472
I'd like to backport it to 4.4 branch. The motivation is people can
use Linux native 4.4 gcc
to develop EFI drivers. Otherwise, people have to install and use
mingw cross gcc on Linux
for EFI drivers. There are 2 issues with mingw cross gcc on Linux for EFI:
1. Mingw cross gcc doesn't come with Linux.
2. "ld --gc-sections " is a no-op on mingw target. It makes EFI
drivers, which are PIE
executables without any shared libraries, too big.
Thanks.
--
H.J.