diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2000-08-14 08:59:40 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2000-08-14 08:59:40 +0000 |
commit | d73e9da0ebdfa540f1883590d42d12ce6611cd83 (patch) | |
tree | bd39f4fabac0688adc293cdd7b0220b0dd82ac98 /ld | |
parent | 726230095ecb85068a9c517291df03f34b11464f (diff) | |
download | fsf-binutils-gdb-d73e9da0ebdfa540f1883590d42d12ce6611cd83.zip fsf-binutils-gdb-d73e9da0ebdfa540f1883590d42d12ce6611cd83.tar.gz fsf-binutils-gdb-d73e9da0ebdfa540f1883590d42d12ce6611cd83.tar.bz2 |
* scripttempl/elf.sc: Fix last change to use correct comment
syntax.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/scripttempl/elf.sc | 39 |
2 files changed, 24 insertions, 20 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index cf6fd16..8095583 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2000-08-14 Andreas Schwab <schwab@suse.de> + + * scripttempl/elf.sc: Fix last change to use correct comment + syntax. + 2000-08-10 Geoff Keating <geoffk@cygnus.com> * scripttempl/elf.sc: Add a comment giving the correspondence diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index 65f578f..bdd101d 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -37,26 +37,25 @@ # when specifying the start address of the next. # -/* Many sections come in three flavours. There is the 'real' section, - like ".data". Then there are the per-procedure or per-variable - sections, generated by -ffunction-sections and -fdata-sections in GCC, - and useful for --gc-sections, which for a variable "foo" might be - ".data.foo". Then there are the linkonce sections, for which the linker - eliminates duplicates, which are named like ".gnu.linkonce.d.foo". - The exact correspondences are: - - Section Linkonce section - .text .gnu.linkonce.t.foo - .rodata .gnu.linkonce.r.foo - .data .gnu.linkonce.d.foo - .bss .gnu.linkonce.b.foo - .sdata .gnu.linkonce.s.foo - .sbss .gnu.linkonce.sb.foo - .sdata2 .gnu.linkonce.s2.foo - .sbss2 .gnu.linkonce.sb2.foo - - Each of these can also have corresponding .rel.* and .rela.* sections. -*/ +# Many sections come in three flavours. There is the 'real' section, +# like ".data". Then there are the per-procedure or per-variable +# sections, generated by -ffunction-sections and -fdata-sections in GCC, +# and useful for --gc-sections, which for a variable "foo" might be +# ".data.foo". Then there are the linkonce sections, for which the linker +# eliminates duplicates, which are named like ".gnu.linkonce.d.foo". +# The exact correspondences are: +# +# Section Linkonce section +# .text .gnu.linkonce.t.foo +# .rodata .gnu.linkonce.r.foo +# .data .gnu.linkonce.d.foo +# .bss .gnu.linkonce.b.foo +# .sdata .gnu.linkonce.s.foo +# .sbss .gnu.linkonce.sb.foo +# .sdata2 .gnu.linkonce.s2.foo +# .sbss2 .gnu.linkonce.sb2.foo +# +# Each of these can also have corresponding .rel.* and .rela.* sections. test -z "$ENTRY" && ENTRY=_start test -z "${BIG_OUTPUT_FORMAT}" && BIG_OUTPUT_FORMAT=${OUTPUT_FORMAT} |