[llvm] [llvm-objcopy] Support SREC output format (PR #75874)

Simon Tatham via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 08:57:13 PST 2024


================
@@ -324,6 +324,14 @@ Expected<IHexRecord> IHexRecord::parse(StringRef Line) {
   return Rec;
 }
 
+static uint64_t sectionLMA(const SectionBase *Sec) {
----------------
statham-arm wrote:

In fact, now I look closer, the way IHEX does it is in the `sectionPhysicalAddr` function just below this new one. What's the reasoning for needing to do it differently?

https://github.com/llvm/llvm-project/pull/75874


More information about the llvm-commits mailing list