mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
33589acbfe
Most of the emultempl/*.em error/warning messages do not currently appear in ld.pot, and fixing that is not simply a matter of adding missing files to POTFILES. The difficulty is the shell-script quoting, for example aarch64elf.em:PARSE_AND_LIST_OPTIONS "Don'\''t". I suppose you could avoid contractions like "don't" but I'm unsure as to whether gettext could handle everything in the emulparams scripts. The right thing to do is feed the generated C files to gettext, as this patch does. The patch just copies what is already done in bfd/ for generated files. * Makefile.am (EMULATION_FILES, POTFILES): Delete. (SRC_POTFILES, BLD_POTFILES): Define. (po/POTFILES.in): Delete rule. (po/SRC-POTFILES.in, po/BLD-POTFILES.in): New rules. * configure.ac: Add AC_CONFIG_COMMANDS to create po/Makefile. * po/Make-in (DISTFILES): Remove POTFILES.in, add SRC-POTFILES.in and BLD-POTFILES.in. (POTFILES): Delete. (SRC-POTFILES, BLD-POTFILES): Define place marker. (ld.pot): Build from SRC-POTFILES plus BLD-POTFILES. (distclean, maintainer-clean): Tidy up new files. (POTFILES, POTFILES.in): Delete rules. (SRC-POTFILES, BLD-POTFILES, SRC-POTFILES.in, BLD-POTFILES.in): New rules. (Makefile): Depend on SRC-POTFILES and BLD-POTFILES. * po/SRC-POTFILES.in: Rename from po/POTFILES.in. * po/BLD-POTFILES.in: New file. * Makefile.in: Regenerate. * configure: Regenerate.
36 lines
327 B
Plaintext
36 lines
327 B
Plaintext
deffile.h
|
|
elf-hints-local.h
|
|
ld.h
|
|
ldbuildid.c
|
|
ldbuildid.h
|
|
ldcref.c
|
|
ldctor.c
|
|
ldctor.h
|
|
ldemul.c
|
|
ldemul.h
|
|
ldexp.c
|
|
ldexp.h
|
|
ldfile.c
|
|
ldfile.h
|
|
ldlang.c
|
|
ldlang.h
|
|
ldlex-wrapper.c
|
|
ldlex.h
|
|
ldmain.c
|
|
ldmain.h
|
|
ldmisc.c
|
|
ldmisc.h
|
|
ldver.c
|
|
ldver.h
|
|
ldwrite.c
|
|
ldwrite.h
|
|
lexsup.c
|
|
mri.c
|
|
mri.h
|
|
pe-dll.c
|
|
pe-dll.h
|
|
pep-dll.c
|
|
pep-dll.h
|
|
plugin.c
|
|
plugin.h
|