diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-06-13 13:04:56 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-06-13 13:04:56 -0700 |
commit | b27685f2016c510d03ac9a64f7b04ce8efcf95c4 (patch) | |
tree | 7e43b79b7f20a99f4581372ebb87e42bc430f184 /ld/ChangeLog | |
parent | 01ec7a272201de84be1ca2c557e58d97891f288c (diff) | |
download | gdb-b27685f2016c510d03ac9a64f7b04ce8efcf95c4.zip gdb-b27685f2016c510d03ac9a64f7b04ce8efcf95c4.tar.gz gdb-b27685f2016c510d03ac9a64f7b04ce8efcf95c4.tar.bz2 |
ld: Don't define __start_SECNAME/__stop_SECNAME for -r
__start_SECNAME and __stop_SECNAME shouldn't be defined for "ld -r".
* ldlang.c (lang_set_startof): Skip if config.build_constructors
is FALSE.
* testsuite/ld-elf/sizeofc.d: New file.
* testsuite/ld-elf/startofc.d: Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 59c99ae..7995de8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,12 @@ 2017-06-13 H.J. Lu <hongjiu.lu@intel.com> + * ldlang.c (lang_set_startof): Skip if config.build_constructors + is FALSE. + * testsuite/ld-elf/sizeofc.d: New file. + * testsuite/ld-elf/startofc.d: Likewise. + +2017-06-13 H.J. Lu <hongjiu.lu@intel.com> + * testsuite/ld-elf/sizeof.d: Renamed to ... * testsuite/ld-elf/sizeofa.d: This. Updated. * testsuite/ld-elf/startof.d: Renamed to ... |