binutils-gdb/ld/scripttempl
H.J. Lu 6bd0a312a4 Fix the order of SHLIB_RODATA_ADDR in elf.sc
elf.sc has

  if test -n "${RODATA_ADDR}"; then
    RODATA_ADDR="\
SEGMENT_START(\"rodata-segment\", ${RODATA_ADDR}) + SIZEOF_HEADERS"
  else
    RODATA_ADDR="ALIGN(${SEGMENT_SIZE}) + (. & (${MAXPAGESIZE} - 1))"
    ^^^^^^^^^^ Set RODATA_ADDR
    RODATA_ADDR="SEGMENT_START(\"rodata-segment\", ${RODATA_ADDR})"
    ^^^^^^^^^^ Set RODATA_ADDR with ${RODATA_ADDR}
  fi
  if test -n "${SHLIB_RODATA_ADDR}"; then
    SHLIB_RODATA_ADDR="\
SEGMENT_START(\"rodata-segment\", ${SHLIB_RODATA_ADDR}) + SIZEOF_HEADERS"
  else
    SHLIB_RODATA_ADDR="SEGMENT_START(\"rodata-segment\", ${SHLIB_RODATA_ADDR})"
    ^^^^^^^^^^ Set SHLIB_RODATA_ADDR
    SHLIB_RODATA_ADDR="ALIGN(${SEGMENT_SIZE}) + (. & (${MAXPAGESIZE} - 1))"
    ^^^^^^^^^^ Override SHLIB_RODATA_ADDR
  fi

The order should be:

  if test -n "${SHLIB_RODATA_ADDR}"; then
    SHLIB_RODATA_ADDR="\
SEGMENT_START(\"rodata-segment\", ${SHLIB_RODATA_ADDR}) + SIZEOF_HEADERS"
  else
    SHLIB_RODATA_ADDR="ALIGN(${SEGMENT_SIZE}) + (. & (${MAXPAGESIZE} - 1))"
    SHLIB_RODATA_ADDR="SEGMENT_START(\"rodata-segment\", ${SHLIB_RODATA_ADDR})"
  fi

	PR ld/22696
	* scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
2018-01-11 05:05:25 -08:00
..
DWARF.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
README Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
aix.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
alpha.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
alphavms.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
aout.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
arclinux.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
armaout.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
armbpabi.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
armcoff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
avr.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
crisaout.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
delta68.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
dlx.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf.sc Fix the order of SHLIB_RODATA_ADDR in elf.sc 2018-01-11 05:05:25 -08:00
elf32cr16.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32cr16c.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32crx.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32msp430.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32msp430_3.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32sh-symbian.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32xc16x.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32xc16xl.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf32xc16xs.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf64hppa.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elf_chaos.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfarc.sc ld whitespace fixes 2017-10-12 23:30:43 +10:30
elfarcv2.sc ld whitespace fixes 2017-10-12 23:30:43 +10:30
elfd10v.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfd30v.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfi370.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfm68hc11.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfm68hc12.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfmicroblaze.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfxgate.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
elfxtensa.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
epiphany_4x4.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
epocpe.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ft32.sc FT32 linker script cleanup 2016-07-06 18:58:10 -07:00
h8300.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300h.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300hn.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300s.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300sn.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300sx.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8300sxn.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8500.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8500b.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8500c.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8500m.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8500s.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
hppaelf.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i386beos.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i386coff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i386go32.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i386msdos.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i860coff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i960.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ia64vms.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ip2k.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
iq2000.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
m68kaux.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
m68kcoff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
m88kbcs.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mcorepe.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mep.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mips.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mipsbsd.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mmo.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
moxie.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
nds32elf.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
nw.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pe.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pep.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pj.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ppcpe.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pru.sc PRU LD Port 2016-12-31 12:04:11 +10:30
psos.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
riscix.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
sh.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
sparccoff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
st2000.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic4xcoff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic30aout.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic30coff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic54xcoff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic80coff.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
v850.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
v850_rh850.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
vanilla.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
visium.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
w65.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
xstormy16.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
z80.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
z8000.sc Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are linker script templates.
genscripts.sh sets some shell variables, then sources
EMULATION.sc, to generate EMULATION.{x,xr,xu,xn,xbn} -- the script
files for default, -r, -Ur, -n, -N.

Copyright (C) 2012-2018 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.