st regards,
Piotr MadaliĆski
-Original Message-
From: Liu Hao [mailto:lh_mo...@126.com]
Sent: 2 sierpnia 2017 17:54
To: mingw-w64-public@lists.sourceforge.net; Madalinski Piotr
Subject: Re: [Mingw-w64-public] FW: Section sizes too big in object files
(possible bug?)
On 2017/8/2 19:42,
> and you get the following from objdump:
>[ 20](sec 4)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x
>test_struct
>[ 21](sec 4)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0024 a
>[ 22](sec 4)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x0028 b
>With the section size of 0x40. In fa
Hi all,
I'm having trouble with getting correct section sizes under MinGW.
The example below demonstrates the issue:
test.c:
#include
#include
typedef struct
{
uint16_t a;
uint16_t b[16];
uint8_t c[2];
} test_struct_t;
__attribute__((section("test_section")))
test_struct_t test_