On 22/09/16 17:30, Richard Biener wrote:
On September 22, 2016 5:20:56 PM GMT+02:00, paul.kon...@dell.com
wrote:
On Sep 22, 2016, at 11:16 AM, David Brown
wrote:
On 22/09/16 16:57, paul.kon...@dell.com wrote:
On Sep 22, 2016, at 6:17 AM, David Brown
wrote:
... Your trouble is that y
Sebastian Huber writes:
> On 22/09/16 14:11, Sergey Organov wrote:
>> Sebastian Huber writes:
>>> Hello,
[...]
>> Alternatively, try (untested, and I removed attributes to make my point
>> clearer):
>>
>> /* Linker-defined symbols */
>>
>> rtems_sysinit_item const _Linker_set__Sysinit_begin[0]
> On Sep 22, 2016, at 11:31 AM, Richard Earnshaw (lists)
> wrote:
>
>>> ...
>>> void rtems_initialize_executive(void)
>>> {
>>> uintptr_t cur = (uintptr_t) _Linker_set__Sysinit_begin;
>>> uintptr_t end = (uintptr_t) _Linker_set__Sysinit_end;
>>
>> I would not expect the compiler to apply point
On 22/09/16 16:20, paul.kon...@dell.com wrote:
>
>> On Sep 22, 2016, at 11:16 AM, David Brown wrote:
>>
>> On 22/09/16 16:57, paul.kon...@dell.com wrote:
>>>
On Sep 22, 2016, at 6:17 AM, David Brown wrote:
...
Your trouble is that your two pointers, cur and end, are pointing
On September 22, 2016 5:20:56 PM GMT+02:00, paul.kon...@dell.com wrote:
>
>> On Sep 22, 2016, at 11:16 AM, David Brown
>wrote:
>>
>> On 22/09/16 16:57, paul.kon...@dell.com wrote:
>>>
On Sep 22, 2016, at 6:17 AM, David Brown
>wrote:
...
Your trouble is that your two pointer
> On Sep 22, 2016, at 11:16 AM, David Brown wrote:
>
> On 22/09/16 16:57, paul.kon...@dell.com wrote:
>>
>>> On Sep 22, 2016, at 6:17 AM, David Brown wrote:
>>>
>>> ...
>>> Your trouble is that your two pointers, cur and end, are pointing at
>>> different variables. Comparing two pointers th
On 22/09/16 16:57, paul.kon...@dell.com wrote:
>
>> On Sep 22, 2016, at 6:17 AM, David Brown wrote:
>>
>> ...
>> Your trouble is that your two pointers, cur and end, are pointing at
>> different variables. Comparing two pointers that are independent (i.e.,
>> not pointing to parts of the same ag
> On Sep 22, 2016, at 6:17 AM, David Brown wrote:
>
> ...
> Your trouble is that your two pointers, cur and end, are pointing at
> different variables. Comparing two pointers that are independent (i.e.,
> not pointing to parts of the same aggregate object) is undefined - the
> compiler can assu
On 22/09/16 14:11, Sergey Organov wrote:
Sebastian Huber writes:
Hello,
for RTEMS we use linker sets to initialize the system. The following
code worked up to GCC 6, but no longer in GCC 7:
typedef void ( *rtems_sysinit_handler )( void );
typedef struct {
rtems_sysinit_handler handler;
Sebastian Huber writes:
> Hello,
>
> for RTEMS we use linker sets to initialize the system. The following
> code worked up to GCC 6, but no longer in GCC 7:
>
> typedef void ( *rtems_sysinit_handler )( void );
>
> typedef struct {
> rtems_sysinit_handler handler;
> } rtems_sysinit_item;
>
> rte
On 22/09/16 09:23, Sebastian Huber wrote:
> Hello,
>
> for RTEMS we use linker sets to initialize the system. The following
> code worked up to GCC 6, but no longer in GCC 7:
>
> typedef void ( *rtems_sysinit_handler )( void );
>
> typedef struct {
> rtems_sysinit_handler handler;
> } rtems_sy
On Thu, Sep 22, 2016 at 9:58 AM, Andreas Schwab wrote:
> On Sep 22 2016, Sebastian Huber wrote:
>
>> for RTEMS we use linker sets to initialize the system. The following code
>> worked up to GCC 6, but no longer in GCC 7:
>>
>> typedef void ( *rtems_sysinit_handler )( void );
>>
>> typedef struct
On Sep 22 2016, Sebastian Huber wrote:
> for RTEMS we use linker sets to initialize the system. The following code
> worked up to GCC 6, but no longer in GCC 7:
>
> typedef void ( *rtems_sysinit_handler )( void );
>
> typedef struct {
> rtems_sysinit_handler handler;
> } rtems_sysinit_item;
>
>
On Thu, Sep 22, 2016 at 3:23 PM, Sebastian Huber
wrote:
> Hello,
>
> for RTEMS we use linker sets to initialize the system. The following code
> worked up to GCC 6, but no longer in GCC 7:
>
> typedef void ( *rtems_sysinit_handler )( void );
>
> typedef struct {
> rtems_sysinit_handler handler;
14 matches
Mail list logo