'Placing vtable into specific region using scatter file in ARM

I want to load the vtables into specific region of the memory using Scatter file. I used the following

LoadRegion 0x80000
{
  vtable
  {
    *(:gdef:_ZTV*)
  }
}
LOAD_SRAM 0x00000000 0x2000
{
   SRAM_RO
   {
      *(+RO)
   }
}

When I use the above declaration of loading the objects into certain memory region, I am getting an error "Ambiguous Selectors found" for the vtables, since there is match found in both the region as described above.

So I wanted to know is there a way to exclude the vtable not to get allocated from the LOAD_SRAM section?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source