Displaying 6 results from an estimated 6 matches for "entsize".
Did you mean:
eltsize
2020 Mar 30
2
LLD bug causing objcopy ELF to binary generation to create large binaries
...IZE < _HeapHigh), "Error: Not enough space for the heap: data section too big.");
} > Memory_SRAM
void OutputSection::commitSection(InputSection *isec) {
if (!hasInputSections) {
// If IS is the first section to be added to this section,
// initialize type, entsize and flags from isec.
hasInputSections = true;
type = isec->type;
entsize = isec->entsize;
flags = isec->flags;
} else {
// Otherwise, check if new type or flags are compatible with existing ones.
unsigned mask = SHF_TLS | SHF_LINK_ORDER;
if ((flags &am...
2020 Mar 29
2
LLD bug causing objcopy ELF to binary generation to create large binaries
Hi LLVM devs,
I came across an LLD bug in v 10.x where ELF parser / processor is
setting .PROGBITS attribute for .heap and .stack sections, which leads
to large binaries when we do `llvm-objcopy -o binary` to generate the
binary output for armv6m. (e.g. for a 57Kb elf would yield a ~400Mb
binary).
This in comparison with LLVM 7.x , would produce the correct binary size
of 35Kb and the
2005 Mar 06
1
testers sought for script to interpret ELF/klibc executables
...t header\n";
return;
}
if ($magic !~ /^\x7fELF(.)/) {
print "$path: bad magic\n";
return;
}
my $class = ord($1);
my ($ehdrPat, $ehdrSize, $phdrPat, $phdrSize, $phdrFields);
my $ehdrFields = [qw{
ident type machine version entry
phoff shoff flags ehsize
phentsize phnum shentsize
shnum shstrndx
}];
if ($class == ELFCLASS32) {
$ehdrSize = SZ_ELF32HDR;
$ehdrPat = "a[16] SS LL LL L SSSSSS";
$phdrSize = SZ_ELF32PHDR;
$phdrPat = "LL LL LL LL";
$phdrFields = [qw{
type offset vaddr paddr
filesz memsz flags align
}];
}...
2009 Apr 24
2
TBOOT and extlinux
...0x4cc4c)
SECTION: 0x00190253 --> 0x00803000 (0x22000)
SECTION: 0x00000000 --> 0x00825000 (0x2ac4c)
Loading ELF section table.
SECTION: 0x001b2633 --> 0x00850000 (0x140)
SECTION: 0x001b2253 --> 0x00850140 (0x3a8)
SECTION: 0x001b25fb --> 0x008504e8 (0x38)
Section information: shnum: 8, entSize: 40, shstrndx: 7, addr: 0x850000
Module: /boot/vmlinuz-2.6.28.9-itpm-dirty root=/dev/sda4 ro intel_iommu=on earlyprintk=vga console=ttyS0,115200
Loading /boot/vmlinuz-2.6.28.9-itpm-dirty.....................
SECTION: 0x001b2773 --> 0x00851000 (0x27faa0)
Placed module (0x00851000+0x27faa0)
Module...
2015 Aug 03
3
[LLVMdev] RFC: ThinLTO File Format
...ld -r
modifies the symbol visibility, this change is recorded in the symbol
table. The change will be propagated to the bitcode when the backend
compiles the native-wrapped bitcode.
E.g.:
Section Headers:
[Nr] Name Type Address Offset
Size EntSize Flags Link Info Align
[ 0] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
[ 1] .shstrtab STRTAB 0000000000000000 0000024b
0000000000000059 0000000000000000 0 0...
2015 Aug 03
2
[LLVMdev] RFC: ThinLTO File Format
...ange is recorded in the symbol
> table. The change will be propagated to the bitcode when the backend
> compiles the native-wrapped bitcode.
>
> E.g.:
>
> Section Headers:
>
> [Nr] Name Type Address Offset
>
> Size EntSize Flags Link Info Align
>
> [ 0] NULL 0000000000000000 00000000
>
> 0000000000000000 0000000000000000 0 0 0
>
> [ 1] .shstrtab STRTAB 0000000000000000 0000024b
>
> 0000000000000059...