[edk2] [PATCH v2 1/3] BaseTools RVCT: use scatter file to implement minimum section alignment

2015-12-01 Thread Ard Biesheuvel
Since debugging tools on ARM usually take the ELF image as input, while the target runs the PE/COFF version, we need to take special care to ensure that the two look identical in memory. The minimum section alignment imposed by GenFw is 32 bytes, so introduce a RVCT scatter file that sets this

Re: [edk2] [PATCH v2 1/3] BaseTools RVCT: use scatter file to implement minimum section alignment

2015-12-01 Thread Andrew Fish
> On Dec 1, 2015, at 9:52 AM, Cohen, Eugene wrote: > > Ard, > >> Since debugging tools on ARM usually take the ELF image as input, while >> the target runs the PE/COFF version, we need to take special care to >> ensure that the two look identical in memory. > > The issue is not

Re: [edk2] [PATCH v2 1/3] BaseTools RVCT: use scatter file to implement minimum section alignment

2015-12-01 Thread Cohen, Eugene
Ard, > Since debugging tools on ARM usually take the ELF image as input, while > the target runs the PE/COFF version, we need to take special care to > ensure that the two look identical in memory. The issue is not just a debugging thing. If the relative position of .text and .data is changed