[rtems commit] Fix or1k C++ build failure
Hesham ALMatary
heshamelmatary at gmail.com
Mon Apr 27 07:44:12 UTC 2015
It's not defined anywhere at libgcc/config/or1k/crt*. I can add it to
libgcc/config/or1k/crti.S but I'm not sure this will also be correct.
On Mon, Apr 27, 2015 at 8:21 AM, Hesham ALMatary
<heshamelmatary at gmail.com> wrote:
> On Mon, Apr 27, 2015 at 7:48 AM, Sebastian Huber
> <sebastian.huber at embedded-brains.de> wrote:
>> I doubt that this fix is correct. This variable is usually defined in the
>> GCC libgcc/crtstuff.c file. I guess something is wrong with the GCC
>> configuration for this target.
>>
> I imitated what's in gdbv850sim/start/start.S. I'll check the GCC side.
>> On 26/04/15 21:56, Joel Sherril wrote:
>>>
>>> Module: rtems
>>> Branch: master
>>> Commit: 3dead51eddcdb734b36c949cbc1e4c2cd21c52d4
>>> Changeset:
>>> http://git.rtems.org/rtems/commit/?id=3dead51eddcdb734b36c949cbc1e4c2cd21c52d4
>>>
>>> Author: Hesham ALMatary <heshamelmatary at gmail.com>
>>> Date: Sun Apr 26 11:28:08 2015 -0500
>>>
>>> Fix or1k C++ build failure
>>>
>>>
>>> Closes #2329
>>>
>>> ---
>>>
>>> c/src/lib/libbsp/or1k/generic_or1k/start/start.S | 7 +++++++
>>> 1 file changed, 7 insertions(+)
>>>
>>> diff --git a/c/src/lib/libbsp/or1k/generic_or1k/start/start.S
>>> b/c/src/lib/libbsp/or1k/generic_or1k/start/start.S
>>> index d951a55..ae6d41a 100644
>>> --- a/c/src/lib/libbsp/or1k/generic_or1k/start/start.S
>>> +++ b/c/src/lib/libbsp/or1k/generic_or1k/start/start.S
>>> @@ -180,3 +180,10 @@ _end_clear_bss:
>>> unhandled_exception:
>>> l.nop
>>> +
>>> +/* Make C++ compiler happy */
>>> +.section .data
>>> +.global __dso_handle
>>> +.weak __dso_handle
>>> +__dso_handle:
>>> +.long 0
>>>
>>> _______________________________________________
>>> vc mailing list
>>> vc at rtems.org
>>> http://lists.rtems.org/mailman/listinfo/vc
>>
>>
>> --
>> Sebastian Huber, embedded brains GmbH
>>
>> Address : Dornierstr. 4, D-82178 Puchheim, Germany
>> Phone : +49 89 189 47 41-16
>> Fax : +49 89 189 47 41-09
>> E-Mail : sebastian.huber at embedded-brains.de
>> PGP : Public key available on request.
>>
>> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>>
>
>
>
> --
> Hesham
--
Hesham
More information about the devel
mailing list