1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/tools
Jake Ehrlich da574d3bff [llvm-objcopy] Use physical instead of virtual address when aligning and placing sections in binary
For sections with different virtual and physical addresses, alignment and
placement in the output binary should be based on the physical address.

Ran into this problem with a bare metal ARM project where llvm-objcopy added a
lot of zero-padding before the .data section that had differing addresses. GNU
objcopy did not add the padding, and after this fix, neither does llvm-objcopy.

Update a test case so a section has different physical and virtual addresses.

Fixes B35708

Authored By: Owen Shaw (owenpshaw)

Differential Revision: https://reviews.llvm.org/D41619

llvm-svn: 323144
2018-01-22 19:27:30 +00:00
..
dsymutil [DebugInfo] Unify dumping of address ranges 2018-01-16 11:17:57 +00:00
gold Make GlobalValues with non-default visibilility dso_local. 2018-01-18 02:08:23 +00:00
llvm-ar
llvm-cfi-verify/X86 [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
llvm-config
llvm-cov Profiling tests: Endianess XFAIL for powerpc- (32-bit) 2018-01-09 20:09:23 +00:00
llvm-cvtres Fix buffer overrun in WindowsResourceCOFFWriter::writeSymbolTable() 2017-12-18 22:10:14 +00:00
llvm-cxxdump
llvm-cxxfilt
llvm-dlltool [COFF] Ignore semicolons in module definition identifiers 2017-12-06 19:18:24 +00:00
llvm-dwarfdump [DebugInfo] Unify dumping of address ranges 2018-01-16 11:17:57 +00:00
llvm-dwp
llvm-extract
llvm-isel-fuzzer
llvm-lib
llvm-lit
llvm-lto
llvm-lto2
llvm-mc
llvm-modextract
llvm-mt [llvm-mt] Remove platform-specific path in test 2018-01-05 18:23:22 +00:00
llvm-nm [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
llvm-objcopy [llvm-objcopy] Use physical instead of virtual address when aligning and placing sections in binary 2018-01-22 19:27:30 +00:00
llvm-objdump [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
llvm-opt-fuzzer
llvm-opt-report
llvm-pdbdump [pdbutil] Replace 0 byte PDB input with correct version to fix failing unit test 2018-01-17 03:48:07 +00:00
llvm-profdata Profiling tests: Endianess XFAIL for powerpc- (32-bit) 2018-01-09 20:09:23 +00:00
llvm-rc
llvm-readobj [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
llvm-size
llvm-split Make GlobalValues with non-default visibilility dso_local. 2018-01-18 02:08:23 +00:00
llvm-strings
llvm-symbolizer
llvm-xray/X86
lto
obj2yaml
opt-viewer Fix some opt-viewer test issues and disable on Windows. 2018-01-05 22:05:13 +00:00
sancov
sanstats
yaml2obj