Displaying 8 results from an estimated 8 matches for "__data_end".
2020 Mar 28
2
How to add new AVR targets?
...g code
volatile uint8_t v1;
volatile uint8_t v2;
__attribute__((interrupt)) void __vector_21(void) {
v2 = v1;
}
produces in C mode:
00000092 <__vector_21>:
92: 80 91 61 00 lds r24, 0x0061 ; 0x800061 <v1>
96: 80 93 60 00 sts 0x0060, r24 ; 0x800060 <__data_end>
9a: 08 95 ret
and in C++ mode:
00000074 <_Z11__vector_21v>:
74: 80 91 60 00 lds r24, 0x0060 ; 0x800060 <__data_end>
78: 80 93 61 00 sts 0x0061, r24 ; 0x800061 <v2>
7c: 08 95 ret
So, in C++ mode it is not recognized as ISR...
2020 Mar 30
2
How to add new AVR targets?
...void __vector_21(void) {
> > v2 = v1;
> > }
> >
> > produces in C mode:
> >
> > 00000092 <__vector_21>:
> > 92: 80 91 61 00 lds r24, 0x0061 ; 0x800061 <v1>
> > 96: 80 93 60 00 sts 0x0060, r24 ; 0x800060 <__data_end>
> > 9a: 08 95 ret
> >
> > and in C++ mode:
> >
> > 00000074 <_Z11__vector_21v>:
> > 74: 80 91 60 00 lds r24, 0x0060 ; 0x800060 <__data_end>
> > 78: 80 93 61 00 sts 0x0061, r24 ; 0x800061 <v2>
>...
2020 Mar 31
2
How to add new AVR targets?
...}
> > >
> > > produces in C mode:
> > >
> > > 00000092 <__vector_21>:
> > > 92: 80 91 61 00 lds r24, 0x0061 ; 0x800061 <v1>
> > > 96: 80 93 60 00 sts 0x0060, r24 ; 0x800060
> <__data_end>
> > > 9a: 08 95 ret
> > >
> > > and in C++ mode:
> > >
> > > 00000074 <_Z11__vector_21v>:
> > > 74: 80 91 60 00 lds r24, 0x0060 ; 0x800060
> <__data_end>
> > > 78:...
2020 Mar 31
3
How to add new AVR targets?
...produces in C mode:
>> > >
>> > > 00000092 <__vector_21>:
>> > > 92: 80 91 61 00 lds r24, 0x0061 ; 0x800061 <v1>
>> > > 96: 80 93 60 00 sts 0x0060, r24 ; 0x800060
>> <__data_end>
>> > > 9a: 08 95 ret
>> > >
>> > > and in C++ mode:
>> > >
>> > > 00000074 <_Z11__vector_21v>:
>> > > 74: 80 91 60 00 lds r24, 0x0060 ; 0x80006...
2020 Apr 08
2
How to add new AVR targets?
...> >
>>>> > > 00000092 <__vector_21>:
>>>> > > 92: 80 91 61 00 lds r24, 0x0061 ; 0x800061 <v1>
>>>> > > 96: 80 93 60 00 sts 0x0060, r24 ; 0x800060
>>>> <__data_end>
>>>> > > 9a: 08 95 ret
>>>> > >
>>>> > > and in C++ mode:
>>>> > >
>>>> > > 00000074 <_Z11__vector_21v>:
>>>> > > 74: 8...
2020 Mar 04
2
How to add new AVR targets?
Am 04.03.20 um 13:28 schrieb Dylan McKay:
>
> * *The C/C++ function needs to be declared with either the calling
> convention avr-interrupt or avr-non-blocking-interrupt.* Skipping
> this step will cause regular ret instructions to be emitted for
> return-from-subroutine, instead of the required reti for interrupt
> handlers. ISRs also have stricter
2015 Oct 05
0
[PATCH 2/4] Remove unused linker scripts
...T(__dynamic_lma) {
- HIDDEN(__dynamic_start = .);
- *(.dynamic)
- HIDDEN(__dynamic_end = .);
- }
-
- . = ALIGN(16);
-
- HIDDEN(__data_vma = .);
- HIDDEN(__data_lma = __data_vma + __text_lma - __text_vma);
- .data : AT(__data_lma) {
- HIDDEN(__data_start = .);
- *(.data)
- *(.data.*)
- HIDDEN(__data_end = .);
- }
-
- HIDDEN(__pm_code_end = .);
- HIDDEN(__pm_code_len = ABSOLUTE(__pm_code_end) - ABSOLUTE(__pm_code_start));
- HIDDEN(__pm_code_dwords = (__pm_code_len + 3) >> 2);
-
- . = ALIGN(128);
-
- HIDDEN(__bss_vma = .);
- HIDDEN(__bss_lma = .); /* Dummy */
- .bss (NOLOAD) : AT (__bss_lma)...
2015 Oct 05
7
[PATCH 0/4] Improve linker scripts
From: Sylvain Gault <sylvain.gault at gmail.com>
These patches basically remove unused linker scripts and port a change that was
made to an unused script.
Those are to be applied on top of the gcc 5 bug fixes as they would conflict
otherwise.
Sylvain Gault (4):
diag/mbr: fix dependency to linker script
Remove unused linker scripts
core: Make symbols defined in linker script HIDDEN