]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Hoist the SECTION comment in opncls.c
authorTom Tromey <tom@tromey.com>
Fri, 17 Feb 2023 19:12:11 +0000 (12:12 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 20 Feb 2023 21:35:15 +0000 (14:35 -0700)
commit03a7c6eb51811e7c0b0fa21fbdf2b3434986ba64
treeb43f09136d926f3038eb3cbcc16483a9e9f53d54
parent2070491c1c31b254b1e8f2250144777a23e9f616
Hoist the SECTION comment in opncls.c

The opening and closing node in BFD starts:

    File: bfd.info, [...]

 /* Set to N to open the next N BFDs using an alternate id space.  */
 extern unsigned int bfd_use_reserved_id;

    2.13 Opening and closing BFDs
    =============================

That is, there's a stray C comment and declaration before any other
text or subsections.

This occurs because the code fragment for bfd_use_reserved_id comes
before the SECTION comment.  Hoisting it makes this a little nicer.

2023-02-17  Tom Tromey  <tom@tromey.com>

* opncls.c: Hoist the SECTION comment.
bfd/ChangeLog
bfd/opncls.c