diff options
| author | David Daney <[email protected]> | 2015-10-29 22:54:48 +0000 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2015-11-10 13:44:40 +0000 |
| commit | 3bfb7224566593219dbd67474dacb23ef7c080e3 (patch) | |
| tree | 9409c19be8e93dadafec06b6e2dbc37c6d9acefa /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | MIPS: vmlinux: discard .MIPS.abiflags (diff) | |
| download | kernel-3bfb7224566593219dbd67474dacb23ef7c080e3.tar.gz kernel-3bfb7224566593219dbd67474dacb23ef7c080e3.zip | |
MIPS: OCTEON: omit ELF NOTE segments
OCTEON Pre-SDK-1.8.1 bootloaders can not handle PT_NOTE program headers,
so do not emit them.
Before the patch:
$ readelf --program-headers octeon-vmlinux
Elf file type is EXEC (Executable file)
Entry point 0xffffffff815d09d0
There are 2 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
LOAD 0x0000000000001000 0xffffffff81100000 0xffffffff81100000
0x0000000000b57f80 0x0000000001b86360 RWE 1000
NOTE 0x00000000004e02e0 0xffffffff815df2e0 0xffffffff815df2e0
0x0000000000000024 0x0000000000000024 R 4
After the patch:
$ readelf --program-headers octeon-vmlinux
Elf file type is EXEC (Executable file)
Entry point 0xffffffff815d09d0
There are 1 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
LOAD 0x0000000000001000 0xffffffff81100000 0xffffffff81100000
0x0000000000b57f80 0x0000000001b86360 RWE 1000
The patch was tested on DSR-1000N router.
Signed-off-by: David Daney <[email protected]>
Signed-off-by: Aaro Koskinen <[email protected]>
Cc: Matthew Fortune <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/11403/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
