bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Namespace problem


From: Nick Clifton
Subject: Re: Namespace problem
Date: Wed, 24 Apr 2019 15:14:15 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi Sebastian,

> I do OO programming in gnu-as (microchips xc32-as).

First off, it should be noted that this is a very, umm, 
difficult thing to do.  Object Oriented programming is
generally speaking a high level concept, whereas assembly
programming is a very low level activity.

> Now I have programms using their object area so the variable names are the 
> same at 
> different places. And some member code or init code has to be at an absolute 
> address.
> How is such a task handled in gas ?
> - You don't have namespace functionality !?

No.  Assemblers do not support namespaces.

You are going to have to implement namespace encoding yourself.

Cheers
  Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]