emaste d86d00c49d elfcopy: overhaul of LMA handling
Merge ELF Tool Chain r3434:

    Previously, elfcopy defines:

    VMA:  section virtual address
    LMA:  PHDR(p_vaddr)

    While binutils(libbfd) defines:

    VMA:  section virtual address and PHDR(p_vaddr).
    LMA:  PHDR(p_paddr)

    For elfcopy, p_paddr is considered not meaningful and is always set
    to the same value as p_vaddr.

    elfcopy was implemented that way because I thought p_paddr is not
    used/meaningful according to the ELF ABI. However it turned out
    p_paddr is at least used in some ELF files, e.g. the FreeBSD kernel.

    This change made elfcopy treat p_paddr as LMA, same as libbfd.

    (However, some VMA/LMA related command line option still need tweaking
    to make them compatible with binutils objcopy. This will be improved
    later)

    Ticket: #524

And typo fixes in r3435 and r3436.

This fixes the Xen kernel build.

Submitted by:	kaiw
Tested by:	royger
2016-03-24 20:13:17 +00:00
..
2015-08-09 05:14:25 +00:00
2015-05-21 05:06:08 +00:00
2016-03-18 20:03:09 +00:00
2016-02-29 21:39:00 +00:00
2014-12-26 07:36:42 +00:00
2015-10-11 17:45:20 +00:00
2015-09-23 05:39:20 +00:00
2016-01-23 15:33:11 +00:00
2016-01-05 05:25:16 +00:00
2016-02-23 07:13:22 +00:00
2015-01-06 22:29:12 +00:00
2016-03-09 22:45:04 +00:00
2015-09-27 07:04:16 +00:00
2016-01-22 07:32:39 +00:00
2016-03-03 15:36:00 +00:00
2015-10-08 11:42:15 +00:00
2015-11-12 03:25:04 +00:00
2015-01-03 23:16:13 +00:00
2015-11-21 09:09:25 +00:00