mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
c3301df1da
bfd/ * elf32-ppc.c (ppc_elf_relocate_section): Correct overflow handling for VLE_SDA21 relocs. ld/testsuite/ * ld-powerpc/vle.ld: Place .PPC.EMB.sdata0 within 32k of 0. * ld-powerpc/vle-reloc-3.d: Update.
13 lines
336 B
Plaintext
13 lines
336 B
Plaintext
SECTIONS
|
|
{
|
|
. = 0x01800000 + SIZEOF_HEADERS;
|
|
.text : { *(.text) }
|
|
.sdata2 : { PROVIDE (_SDA2_BASE_ = 32768); *(.sdata2) }
|
|
. = ALIGN (0x10000) + (. & (0x10000 - 1));
|
|
.data : { *(.data) }
|
|
.sdata : { PROVIDE (_SDA_BASE_ = 32768); *(.sdata) }
|
|
. = 0xffff8000;
|
|
.PPC.EMB.sdata0 : { *(.PPC.EMB.sdata0) }
|
|
/DISCARD/ : { *(*) }
|
|
}
|