From a1ab1d2aa3baf504c67892d1e46724f4a2c54ce5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 17 Mar 2001 21:24:26 +0000 Subject: [PATCH] * emultempl/elf32.em (OPTION_GROUP): New macro. Add new option Bgroup to longopts. (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. (gld*_list_options): Add -Bgroup and -z defs. * ld.1: Document -Bgroup and -z defs. * ld.texinfo: Likewise. --- ld/ChangeLog | 9 ++++ ld/emultempl/elf32.em | 13 ++++++ ld/ld.1 | 14 ++++++ ld/ld.texinfo | 99 +++++++++++++++++++++++-------------------- 4 files changed, 90 insertions(+), 45 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 27552c9d562..9395dd68ca0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,12 @@ +2001-03-17 Ulrich Drepper + + * emultempl/elf32.em (OPTION_GROUP): New macro. + Add new option Bgroup to longopts. + (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. + (gld*_list_options): Add -Bgroup and -z defs. + * ld.1: Document -Bgroup and -z defs. + * ld.texinfo: Likewise. + 2001-03-07 Michael Meissner * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index e890c75e896..d5b9eec8bd5 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1334,6 +1334,7 @@ cat >>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <> <<&\cr @@ -3685,7 +3696,7 @@ following @group SECTIONS @{ - .text 9+this_isnt_constant : + .text 9+this_isnt_constant : @{ *(.text) @} @} @end group @@ -3760,7 +3771,7 @@ identical values: @group SECTIONS @{ @dots{} .output1 : - @{ + @{ start_of_output_1 = ABSOLUTE(.); @dots{} @} @@ -4073,7 +4084,7 @@ non-interworking aware Thumb code. @cindex entry point, thumb @kindex --thumb-entry=@var{entry} The @samp{--thumb-entry} switch is a duplicate of the generic -@samp{--entry} switch, in that it sets the program's starting address. +@samp{--entry} switch, in that it sets the program's starting address. But it also sets the bottom bit of the address, so that it can be branched to using a BX instruction, and the program will start executing in Thumb mode straight away. @@ -4451,10 +4462,10 @@ This command does nothing whatever; it's only accepted for compatibility. @cindex @code{FORMAT} (MRI) @item FORMAT @var{output-format} Similar to the @code{OUTPUT_FORMAT} command in the more general linker -language, but restricted to one of these output formats: +language, but restricted to one of these output formats: @enumerate -@item +@item S-records, if @var{output-format} is @samp{S} @item @@ -4517,12 +4528,12 @@ If you have more than one @code{SECT} statement for the same @cindex GNU Free Documentation License GNU Free Documentation License - + Version 1.1, March 2000 Copyright (C) 2000 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - + Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -4899,5 +4910,3 @@ to permit their use in free software. @contents @bye - - -- 2.30.2