]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* ldgram.y: Include "ldctor.h".
authorIan Lance Taylor <ian@airs.com>
Fri, 14 Aug 1998 19:40:01 +0000 (19:40 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 14 Aug 1998 19:40:01 +0000 (19:40 +0000)
commit63bb5e9a797da6da171db494ff366fe2cab35a70
tree3692aea6afeef5ee5cca1a01259bb881c2330490
parenta05d3537a8035d2e0d9310bef6589cba46998f06
* ldgram.y: Include "ldctor.h".
(statement): Accept SORT around CONSTRUCTORS.
* ldctor.c: Include <ctype.h>.
(constructors_sorted): New global variable.
(ctor_prio, ctor_cmp): New static functions.
(ldctor_build_sets): Sort constructors if requested.
* ldctor.h (constructors_sorted): Declare.
* ldlang.c (print_statement): Print sorted CONSTRUCTORS
correctly.
* scripttempl/elf.sc: Add sort around CONSTRUCTORS.
* ld.texinfo (Output Section Keywords): Document SORT
  (CONSTRUCTORS).
ld/ChangeLog
ld/ldctor.c
ld/scripttempl/elf.sc