mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
76cb62b003
* ld-scripts/assert.s: Remove comment. * ld-scripts/data.s: Likewise. * ld-scripts/data.t: Set start address to allow for aout headers. Make first LONG pc-relative. * ld-scripts/data.d: Update. * ld-scripts/defined2.d: Allow other random syms. * ld-scripts/defined3.d: Likewise. * ld-scripts/provide-1.s: Pad section. * ld-scripts/provide-1.t: Set .data address and align. * ld-scripts/provide-1.d: Update. * ld-scripts/provide-2.s: Pad section. * ld-scripts/provide-2.d: Allow random trailing syms. * ld-scripts/provide-3.s: Pad section. * ld-scripts/provide-3.d: Fix typos. * ld-scripts/provide.exp: Don't run on aix. * ld-scripts/size-1.s: Simplify test. * ld-scripts/size-1.t: Rewrite. * ld-scripts/size-1.d: Update. * ld-scripts/size-2.s: Simplify. * ld-scripts/size-2.t: Set start address. Set exe flag on image. * ld-scripts/size-2.d: Update. * ld-scripts/size.exp: Don't run on aix. Run size-2 on all elf targets except mips.
22 lines
374 B
Perl
22 lines
374 B
Perl
PHDRS
|
|
{
|
|
header PT_PHDR FILEHDR PHDRS ;
|
|
|
|
image PT_LOAD FLAGS (5);
|
|
tls PT_TLS FLAGS (4);
|
|
|
|
}
|
|
SECTIONS
|
|
{
|
|
.text 0x100 : { *(.text) } :image
|
|
.tdata : { *(.tdata) } :image :tls
|
|
.tbss : { *(.tbss) } :image : tls
|
|
.map : {
|
|
LONG (SIZEOF (.text))
|
|
LONG (SIZEOF (.data))
|
|
LONG (SIZEOF (.bss))
|
|
LONG (SIZEOF (.tdata))
|
|
LONG (SIZEOF (.tbss))
|
|
} :image
|
|
}
|