Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild

Pull kbuild updates from Michal Marek:

- prototypes for x86 asm-exported symbols (Adam Borowski) and a warning
about missing CRCs (Nick Piggin)

- asm-exports fix for LTO (Nicolas Pitre)

- thin archives improvements (Nick Piggin)

- linker script fix for CONFIG_LD_DEAD_CODE_DATA_ELIMINATION (Nick
Piggin)

- genksyms support for __builtin_va_list keyword

- misc minor fixes

* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
x86/kbuild: enable modversions for symbols exported from asm
kbuild: fix scripts/adjust_autoksyms.sh* for the no modules case
scripts/kallsyms: remove last remnants of --page-offset option
make use of make variable CURDIR instead of calling pwd
kbuild: cmd_export_list: tighten the sed script
kbuild: minor improvement for thin archives build
kbuild: modpost warn if export version crc is missing
kbuild: keep data tables through dead code elimination
kbuild: improve linker compatibility with lib-ksyms.o build
genksyms: Regenerate parser
kbuild/genksyms: handle va_list type
kbuild: thin archives for multi-y targets
kbuild: kallsyms allow 3-pass generation if symbols size has changed

+522 -474
+16
arch/x86/include/asm/asm-prototypes.h
··· 1 + #include <asm/ftrace.h> 2 + #include <asm/uaccess.h> 3 + #include <asm/string.h> 4 + #include <asm/page.h> 5 + #include <asm/checksum.h> 6 + 7 + #include <asm-generic/asm-prototypes.h> 8 + 9 + #include <asm/page.h> 10 + #include <asm/pgtable.h> 11 + #include <asm/special_insns.h> 12 + #include <asm/preempt.h> 13 + 14 + #ifndef CONFIG_X86_CMPXCHG64 15 + extern void cmpxchg8b_emu(void); 16 + #endif
+7
include/asm-generic/asm-prototypes.h
··· 1 + #include <linux/bitops.h> 2 + extern void *__memset(void *, int, __kernel_size_t); 3 + extern void *__memcpy(void *, const void *, __kernel_size_t); 4 + extern void *__memmove(void *, const void *, __kernel_size_t); 5 + extern void *memset(void *, int, __kernel_size_t); 6 + extern void *memcpy(void *, const void *, __kernel_size_t); 7 + extern void *memmove(void *, const void *, __kernel_size_t);
+34 -34
include/asm-generic/vmlinux.lds.h
··· 114 114 #ifdef CONFIG_KPROBES 115 115 #define KPROBE_BLACKLIST() . = ALIGN(8); \ 116 116 VMLINUX_SYMBOL(__start_kprobe_blacklist) = .; \ 117 - *(_kprobe_blacklist) \ 117 + KEEP(*(_kprobe_blacklist)) \ 118 118 VMLINUX_SYMBOL(__stop_kprobe_blacklist) = .; 119 119 #else 120 120 #define KPROBE_BLACKLIST() ··· 123 123 #ifdef CONFIG_EVENT_TRACING 124 124 #define FTRACE_EVENTS() . = ALIGN(8); \ 125 125 VMLINUX_SYMBOL(__start_ftrace_events) = .; \ 126 - *(_ftrace_events) \ 126 + KEEP(*(_ftrace_events)) \ 127 127 VMLINUX_SYMBOL(__stop_ftrace_events) = .; \ 128 128 VMLINUX_SYMBOL(__start_ftrace_enum_maps) = .; \ 129 - *(_ftrace_enum_map) \ 129 + KEEP(*(_ftrace_enum_map)) \ 130 130 VMLINUX_SYMBOL(__stop_ftrace_enum_maps) = .; 131 131 #else 132 132 #define FTRACE_EVENTS() ··· 134 134 135 135 #ifdef CONFIG_TRACING 136 136 #define TRACE_PRINTKS() VMLINUX_SYMBOL(__start___trace_bprintk_fmt) = .; \ 137 - *(__trace_printk_fmt) /* Trace_printk fmt' pointer */ \ 137 + KEEP(*(__trace_printk_fmt)) /* Trace_printk fmt' pointer */ \ 138 138 VMLINUX_SYMBOL(__stop___trace_bprintk_fmt) = .; 139 139 #define TRACEPOINT_STR() VMLINUX_SYMBOL(__start___tracepoint_str) = .; \ 140 - *(__tracepoint_str) /* Trace_printk fmt' pointer */ \ 140 + KEEP(*(__tracepoint_str)) /* Trace_printk fmt' pointer */ \ 141 141 VMLINUX_SYMBOL(__stop___tracepoint_str) = .; 142 142 #else 143 143 #define TRACE_PRINTKS() ··· 147 147 #ifdef CONFIG_FTRACE_SYSCALLS 148 148 #define TRACE_SYSCALLS() . = ALIGN(8); \ 149 149 VMLINUX_SYMBOL(__start_syscalls_metadata) = .; \ 150 - *(__syscalls_metadata) \ 150 + KEEP(*(__syscalls_metadata)) \ 151 151 VMLINUX_SYMBOL(__stop_syscalls_metadata) = .; 152 152 #else 153 153 #define TRACE_SYSCALLS() ··· 156 156 #ifdef CONFIG_SERIAL_EARLYCON 157 157 #define EARLYCON_TABLE() STRUCT_ALIGN(); \ 158 158 VMLINUX_SYMBOL(__earlycon_table) = .; \ 159 - *(__earlycon_table) \ 159 + KEEP(*(__earlycon_table)) \ 160 160 VMLINUX_SYMBOL(__earlycon_table_end) = .; 161 161 #else 162 162 #define EARLYCON_TABLE() ··· 169 169 #define _OF_TABLE_1(name) \ 170 170 . = ALIGN(8); \ 171 171 VMLINUX_SYMBOL(__##name##_of_table) = .; \ 172 - *(__##name##_of_table) \ 173 - *(__##name##_of_table_end) 172 + KEEP(*(__##name##_of_table)) \ 173 + KEEP(*(__##name##_of_table_end)) 174 174 175 175 #define CLKSRC_OF_TABLES() OF_TABLE(CONFIG_CLKSRC_OF, clksrc) 176 176 #define IRQCHIP_OF_MATCH_TABLE() OF_TABLE(CONFIG_IRQCHIP, irqchip) ··· 184 184 #define ACPI_PROBE_TABLE(name) \ 185 185 . = ALIGN(8); \ 186 186 VMLINUX_SYMBOL(__##name##_acpi_probe_table) = .; \ 187 - *(__##name##_acpi_probe_table) \ 187 + KEEP(*(__##name##_acpi_probe_table)) \ 188 188 VMLINUX_SYMBOL(__##name##_acpi_probe_table_end) = .; 189 189 #else 190 190 #define ACPI_PROBE_TABLE(name) ··· 193 193 #define KERNEL_DTB() \ 194 194 STRUCT_ALIGN(); \ 195 195 VMLINUX_SYMBOL(__dtb_start) = .; \ 196 - *(.dtb.init.rodata) \ 196 + KEEP(*(.dtb.init.rodata)) \ 197 197 VMLINUX_SYMBOL(__dtb_end) = .; 198 198 199 199 /* ··· 214 214 /* implement dynamic printk debug */ \ 215 215 . = ALIGN(8); \ 216 216 VMLINUX_SYMBOL(__start___jump_table) = .; \ 217 - *(__jump_table) \ 217 + KEEP(*(__jump_table)) \ 218 218 VMLINUX_SYMBOL(__stop___jump_table) = .; \ 219 219 . = ALIGN(8); \ 220 220 VMLINUX_SYMBOL(__start___verbose) = .; \ 221 - *(__verbose) \ 221 + KEEP(*(__verbose)) \ 222 222 VMLINUX_SYMBOL(__stop___verbose) = .; \ 223 223 LIKELY_PROFILE() \ 224 224 BRANCH_PROFILE() \ ··· 274 274 VMLINUX_SYMBOL(__start_rodata) = .; \ 275 275 *(.rodata) *(.rodata.*) \ 276 276 RO_AFTER_INIT_DATA /* Read only after init */ \ 277 - *(__vermagic) /* Kernel version magic */ \ 277 + KEEP(*(__vermagic)) /* Kernel version magic */ \ 278 278 . = ALIGN(8); \ 279 279 VMLINUX_SYMBOL(__start___tracepoints_ptrs) = .; \ 280 - *(__tracepoints_ptrs) /* Tracepoints: pointer array */\ 280 + KEEP(*(__tracepoints_ptrs)) /* Tracepoints: pointer array */ \ 281 281 VMLINUX_SYMBOL(__stop___tracepoints_ptrs) = .; \ 282 282 *(__tracepoints_strings)/* Tracepoints: strings */ \ 283 283 } \ ··· 291 291 /* PCI quirks */ \ 292 292 .pci_fixup : AT(ADDR(.pci_fixup) - LOAD_OFFSET) { \ 293 293 VMLINUX_SYMBOL(__start_pci_fixups_early) = .; \ 294 - *(.pci_fixup_early) \ 294 + KEEP(*(.pci_fixup_early)) \ 295 295 VMLINUX_SYMBOL(__end_pci_fixups_early) = .; \ 296 296 VMLINUX_SYMBOL(__start_pci_fixups_header) = .; \ 297 - *(.pci_fixup_header) \ 297 + KEEP(*(.pci_fixup_header)) \ 298 298 VMLINUX_SYMBOL(__end_pci_fixups_header) = .; \ 299 299 VMLINUX_SYMBOL(__start_pci_fixups_final) = .; \ 300 - *(.pci_fixup_final) \ 300 + KEEP(*(.pci_fixup_final)) \ 301 301 VMLINUX_SYMBOL(__end_pci_fixups_final) = .; \ 302 302 VMLINUX_SYMBOL(__start_pci_fixups_enable) = .; \ 303 - *(.pci_fixup_enable) \ 303 + KEEP(*(.pci_fixup_enable)) \ 304 304 VMLINUX_SYMBOL(__end_pci_fixups_enable) = .; \ 305 305 VMLINUX_SYMBOL(__start_pci_fixups_resume) = .; \ 306 - *(.pci_fixup_resume) \ 306 + KEEP(*(.pci_fixup_resume)) \ 307 307 VMLINUX_SYMBOL(__end_pci_fixups_resume) = .; \ 308 308 VMLINUX_SYMBOL(__start_pci_fixups_resume_early) = .; \ 309 - *(.pci_fixup_resume_early) \ 309 + KEEP(*(.pci_fixup_resume_early)) \ 310 310 VMLINUX_SYMBOL(__end_pci_fixups_resume_early) = .; \ 311 311 VMLINUX_SYMBOL(__start_pci_fixups_suspend) = .; \ 312 - *(.pci_fixup_suspend) \ 312 + KEEP(*(.pci_fixup_suspend)) \ 313 313 VMLINUX_SYMBOL(__end_pci_fixups_suspend) = .; \ 314 314 VMLINUX_SYMBOL(__start_pci_fixups_suspend_late) = .; \ 315 - *(.pci_fixup_suspend_late) \ 315 + KEEP(*(.pci_fixup_suspend_late)) \ 316 316 VMLINUX_SYMBOL(__end_pci_fixups_suspend_late) = .; \ 317 317 } \ 318 318 \ 319 319 /* Built-in firmware blobs */ \ 320 320 .builtin_fw : AT(ADDR(.builtin_fw) - LOAD_OFFSET) { \ 321 321 VMLINUX_SYMBOL(__start_builtin_fw) = .; \ 322 - *(.builtin_fw) \ 322 + KEEP(*(.builtin_fw)) \ 323 323 VMLINUX_SYMBOL(__end_builtin_fw) = .; \ 324 324 } \ 325 325 \ ··· 397 397 \ 398 398 /* Kernel symbol table: strings */ \ 399 399 __ksymtab_strings : AT(ADDR(__ksymtab_strings) - LOAD_OFFSET) { \ 400 - KEEP(*(__ksymtab_strings)) \ 400 + *(__ksymtab_strings) \ 401 401 } \ 402 402 \ 403 403 /* __*init sections */ \ ··· 410 410 /* Built-in module parameters. */ \ 411 411 __param : AT(ADDR(__param) - LOAD_OFFSET) { \ 412 412 VMLINUX_SYMBOL(__start___param) = .; \ 413 - *(__param) \ 413 + KEEP(*(__param)) \ 414 414 VMLINUX_SYMBOL(__stop___param) = .; \ 415 415 } \ 416 416 \ 417 417 /* Built-in module versions. */ \ 418 418 __modver : AT(ADDR(__modver) - LOAD_OFFSET) { \ 419 419 VMLINUX_SYMBOL(__start___modver) = .; \ 420 - *(__modver) \ 420 + KEEP(*(__modver)) \ 421 421 VMLINUX_SYMBOL(__stop___modver) = .; \ 422 422 . = ALIGN((align)); \ 423 423 VMLINUX_SYMBOL(__end_rodata) = .; \ ··· 520 520 . = ALIGN(align); \ 521 521 __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) { \ 522 522 VMLINUX_SYMBOL(__start___ex_table) = .; \ 523 - *(__ex_table) \ 523 + KEEP(*(__ex_table)) \ 524 524 VMLINUX_SYMBOL(__stop___ex_table) = .; \ 525 525 } 526 526 ··· 536 536 #ifdef CONFIG_CONSTRUCTORS 537 537 #define KERNEL_CTORS() . = ALIGN(8); \ 538 538 VMLINUX_SYMBOL(__ctors_start) = .; \ 539 - *(.ctors) \ 540 - *(SORT(.init_array.*)) \ 541 - *(.init_array) \ 539 + KEEP(*(.ctors)) \ 540 + KEEP(*(SORT(.init_array.*))) \ 541 + KEEP(*(.init_array)) \ 542 542 VMLINUX_SYMBOL(__ctors_end) = .; 543 543 #else 544 544 #define KERNEL_CTORS() ··· 663 663 . = ALIGN(8); \ 664 664 __bug_table : AT(ADDR(__bug_table) - LOAD_OFFSET) { \ 665 665 VMLINUX_SYMBOL(__start___bug_table) = .; \ 666 - *(__bug_table) \ 666 + KEEP(*(__bug_table)) \ 667 667 VMLINUX_SYMBOL(__stop___bug_table) = .; \ 668 668 } 669 669 #else ··· 675 675 . = ALIGN(4); \ 676 676 .tracedata : AT(ADDR(.tracedata) - LOAD_OFFSET) { \ 677 677 VMLINUX_SYMBOL(__tracedata_start) = .; \ 678 - *(.tracedata) \ 678 + KEEP(*(.tracedata)) \ 679 679 VMLINUX_SYMBOL(__tracedata_end) = .; \ 680 680 } 681 681 #else ··· 692 692 #define INIT_SETUP(initsetup_align) \ 693 693 . = ALIGN(initsetup_align); \ 694 694 VMLINUX_SYMBOL(__setup_start) = .; \ 695 - *(.init.setup) \ 695 + KEEP(*(.init.setup)) \ 696 696 VMLINUX_SYMBOL(__setup_end) = .; 697 697 698 698 #define INIT_CALLS_LEVEL(level) \
+2 -2
samples/bpf/Makefile
··· 141 141 142 142 # Trick to allow make to be run from this directory 143 143 all: 144 - $(MAKE) -C ../../ $$PWD/ 144 + $(MAKE) -C ../../ $(CURDIR)/ 145 145 146 146 clean: 147 - $(MAKE) -C ../../ M=$$PWD clean 147 + $(MAKE) -C ../../ M=$(CURDIR) clean 148 148 @rm -f *~ 149 149 150 150 # Verify LLVM compiler tools are available and bpf target is supported by llc
+1 -1
samples/connector/Makefile
··· 13 13 all: modules 14 14 15 15 modules clean: 16 - $(MAKE) -C ../.. SUBDIRS=$(PWD) $@ 16 + $(MAKE) -C ../.. SUBDIRS=$(CURDIR) $@
+12 -5
scripts/Makefile.build
··· 488 488 489 489 quiet_cmd_export_list = EXPORTS $@ 490 490 cmd_export_list = $(OBJDUMP) -h $< | \ 491 - sed -ne '/___ksymtab/{s/.*+/$(ref_prefix)/;s/ .*/)/;p}' >$(ksyms-lds);\ 491 + sed -ne '/___ksymtab/s/.*+\([^ ]*\).*/$(ref_prefix)\1)/p' >$(ksyms-lds);\ 492 492 rm -f $(dummy-object);\ 493 - $(AR) rcs$(KBUILD_ARFLAGS) $(dummy-object);\ 493 + echo | $(CC) $(a_flags) -c -o $(dummy-object) -x assembler -;\ 494 494 $(LD) $(ld_flags) -r -o $@ -T $(ksyms-lds) $(dummy-object);\ 495 495 rm $(dummy-object) $(ksyms-lds) 496 496 ··· 517 517 $($(subst $(obj)/,,$(@:.o=-y))) \ 518 518 $($(subst $(obj)/,,$(@:.o=-m)))), $^) 519 519 520 - quiet_cmd_link_multi-y = LD $@ 521 - cmd_link_multi-y = $(LD) $(ld_flags) -r -o $@ $(link_multi_deps) $(cmd_secanalysis) 520 + cmd_link_multi-link = $(LD) $(ld_flags) -r -o $@ $(link_multi_deps) $(cmd_secanalysis) 521 + 522 + ifdef CONFIG_THIN_ARCHIVES 523 + quiet_cmd_link_multi-y = AR $@ 524 + cmd_link_multi-y = rm -f $@; $(AR) rcST$(KBUILD_ARFLAGS) $@ $(link_multi_deps) 525 + else 526 + quiet_cmd_link_multi-y = LD $@ 527 + cmd_link_multi-y = $(cmd_link_multi-link) 528 + endif 522 529 523 530 quiet_cmd_link_multi-m = LD [M] $@ 524 - cmd_link_multi-m = $(cmd_link_multi-y) 531 + cmd_link_multi-m = $(cmd_link_multi-link) 525 532 526 533 $(multi-used-y): FORCE 527 534 $(call if_changed,link_multi-y)
+1
scripts/adjust_autoksyms.sh
··· 59 59 */ 60 60 61 61 EOT 62 + [ "$(ls -A "$MODVERDIR")" ] && 62 63 sed -ns -e '3{s/ /\n/g;/^$/!p;}' "$MODVERDIR"/*.mod | sort -u | 63 64 while read sym; do 64 65 if [ -n "$CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX" ]; then
+1
scripts/genksyms/keywords.gperf
··· 27 27 __typeof__, TYPEOF_KEYW 28 28 __volatile, VOLATILE_KEYW 29 29 __volatile__, VOLATILE_KEYW 30 + __builtin_va_list, VA_LIST_KEYW 30 31 # According to rth, c99 defines _Bool, __restrict, __restrict__, restrict. KAO 31 32 _Bool, BOOL_KEYW 32 33 _restrict, RESTRICT_KEYW
+33 -32
scripts/genksyms/keywords.hash.c_shipped
··· 57 57 101, 101, 101, 101, 101, 101, 101, 101, 101, 0, 58 58 101, 101, 101, 101, 101, 101, 15, 101, 101, 101, 59 59 0, 101, 101, 101, 101, 101, 101, 101, 101, 101, 60 - 101, 101, 101, 101, 101, 0, 101, 0, 101, 5, 60 + 101, 101, 101, 101, 101, 0, 101, 0, 0, 5, 61 61 25, 20, 55, 30, 101, 15, 101, 101, 10, 0, 62 62 10, 40, 10, 101, 10, 5, 0, 10, 15, 101, 63 63 101, 101, 101, 101, 101, 101, 101, 101, 101, 101, ··· 89 89 { 90 90 enum 91 91 { 92 - TOTAL_KEYWORDS = 46, 92 + TOTAL_KEYWORDS = 47, 93 93 MIN_WORD_LENGTH = 3, 94 94 MAX_WORD_LENGTH = 24, 95 95 MIN_HASH_VALUE = 3, ··· 99 99 static const struct resword wordlist[] = 100 100 { 101 101 {""}, {""}, {""}, 102 - #line 35 "scripts/genksyms/keywords.gperf" 102 + #line 36 "scripts/genksyms/keywords.gperf" 103 103 {"asm", ASM_KEYW}, 104 104 {""}, 105 105 #line 15 "scripts/genksyms/keywords.gperf" ··· 119 119 {"__const__", CONST_KEYW}, 120 120 #line 25 "scripts/genksyms/keywords.gperf" 121 121 {"__signed__", SIGNED_KEYW}, 122 - #line 53 "scripts/genksyms/keywords.gperf" 123 - {"static", STATIC_KEYW}, 124 - {""}, 125 - #line 48 "scripts/genksyms/keywords.gperf" 126 - {"int", INT_KEYW}, 127 - #line 41 "scripts/genksyms/keywords.gperf" 128 - {"char", CHAR_KEYW}, 129 - #line 42 "scripts/genksyms/keywords.gperf" 130 - {"const", CONST_KEYW}, 131 122 #line 54 "scripts/genksyms/keywords.gperf" 123 + {"static", STATIC_KEYW}, 124 + #line 30 "scripts/genksyms/keywords.gperf" 125 + {"__builtin_va_list", VA_LIST_KEYW}, 126 + #line 49 "scripts/genksyms/keywords.gperf" 127 + {"int", INT_KEYW}, 128 + #line 42 "scripts/genksyms/keywords.gperf" 129 + {"char", CHAR_KEYW}, 130 + #line 43 "scripts/genksyms/keywords.gperf" 131 + {"const", CONST_KEYW}, 132 + #line 55 "scripts/genksyms/keywords.gperf" 132 133 {"struct", STRUCT_KEYW}, 133 - #line 33 "scripts/genksyms/keywords.gperf" 134 - {"__restrict__", RESTRICT_KEYW}, 135 134 #line 34 "scripts/genksyms/keywords.gperf" 135 + {"__restrict__", RESTRICT_KEYW}, 136 + #line 35 "scripts/genksyms/keywords.gperf" 136 137 {"restrict", RESTRICT_KEYW}, 137 138 #line 12 "scripts/genksyms/keywords.gperf" 138 139 {"EXPORT_SYMBOL_GPL_FUTURE", EXPORT_SYMBOL_KEYW}, ··· 144 143 {"__volatile__", VOLATILE_KEYW}, 145 144 #line 10 "scripts/genksyms/keywords.gperf" 146 145 {"EXPORT_SYMBOL", EXPORT_SYMBOL_KEYW}, 147 - #line 32 "scripts/genksyms/keywords.gperf" 146 + #line 33 "scripts/genksyms/keywords.gperf" 148 147 {"_restrict", RESTRICT_KEYW}, 149 148 {""}, 150 149 #line 17 "scripts/genksyms/keywords.gperf" ··· 153 152 {"EXPORT_SYMBOL_GPL", EXPORT_SYMBOL_KEYW}, 154 153 #line 21 "scripts/genksyms/keywords.gperf" 155 154 {"__extension__", EXTENSION_KEYW}, 156 - #line 44 "scripts/genksyms/keywords.gperf" 155 + #line 45 "scripts/genksyms/keywords.gperf" 157 156 {"enum", ENUM_KEYW}, 158 157 #line 13 "scripts/genksyms/keywords.gperf" 159 158 {"EXPORT_UNUSED_SYMBOL", EXPORT_SYMBOL_KEYW}, 160 - #line 45 "scripts/genksyms/keywords.gperf" 159 + #line 46 "scripts/genksyms/keywords.gperf" 161 160 {"extern", EXTERN_KEYW}, 162 161 {""}, 163 162 #line 24 "scripts/genksyms/keywords.gperf" 164 163 {"__signed", SIGNED_KEYW}, 165 164 #line 14 "scripts/genksyms/keywords.gperf" 166 165 {"EXPORT_UNUSED_SYMBOL_GPL", EXPORT_SYMBOL_KEYW}, 167 - #line 57 "scripts/genksyms/keywords.gperf" 166 + #line 58 "scripts/genksyms/keywords.gperf" 168 167 {"union", UNION_KEYW}, 169 168 {""}, {""}, 170 169 #line 22 "scripts/genksyms/keywords.gperf" 171 170 {"__inline", INLINE_KEYW}, 172 - #line 40 "scripts/genksyms/keywords.gperf" 171 + #line 41 "scripts/genksyms/keywords.gperf" 173 172 {"auto", AUTO_KEYW}, 174 173 #line 28 "scripts/genksyms/keywords.gperf" 175 174 {"__volatile", VOLATILE_KEYW}, 176 175 {""}, {""}, 177 - #line 58 "scripts/genksyms/keywords.gperf" 176 + #line 59 "scripts/genksyms/keywords.gperf" 178 177 {"unsigned", UNSIGNED_KEYW}, 179 178 {""}, 180 - #line 51 "scripts/genksyms/keywords.gperf" 179 + #line 52 "scripts/genksyms/keywords.gperf" 181 180 {"short", SHORT_KEYW}, 182 - #line 47 "scripts/genksyms/keywords.gperf" 181 + #line 48 "scripts/genksyms/keywords.gperf" 183 182 {"inline", INLINE_KEYW}, 184 183 {""}, 185 - #line 60 "scripts/genksyms/keywords.gperf" 184 + #line 61 "scripts/genksyms/keywords.gperf" 186 185 {"volatile", VOLATILE_KEYW}, 187 - #line 49 "scripts/genksyms/keywords.gperf" 186 + #line 50 "scripts/genksyms/keywords.gperf" 188 187 {"long", LONG_KEYW}, 189 - #line 31 "scripts/genksyms/keywords.gperf" 188 + #line 32 "scripts/genksyms/keywords.gperf" 190 189 {"_Bool", BOOL_KEYW}, 191 190 {""}, {""}, 192 - #line 50 "scripts/genksyms/keywords.gperf" 191 + #line 51 "scripts/genksyms/keywords.gperf" 193 192 {"register", REGISTER_KEYW}, 194 - #line 59 "scripts/genksyms/keywords.gperf" 193 + #line 60 "scripts/genksyms/keywords.gperf" 195 194 {"void", VOID_KEYW}, 196 195 {""}, 197 - #line 43 "scripts/genksyms/keywords.gperf" 196 + #line 44 "scripts/genksyms/keywords.gperf" 198 197 {"double", DOUBLE_KEYW}, 199 198 {""}, 200 199 #line 26 "scripts/genksyms/keywords.gperf" 201 200 {"__typeof", TYPEOF_KEYW}, 202 201 {""}, {""}, 203 - #line 52 "scripts/genksyms/keywords.gperf" 202 + #line 53 "scripts/genksyms/keywords.gperf" 204 203 {"signed", SIGNED_KEYW}, 205 204 {""}, {""}, {""}, {""}, 206 - #line 56 "scripts/genksyms/keywords.gperf" 205 + #line 57 "scripts/genksyms/keywords.gperf" 207 206 {"typeof", TYPEOF_KEYW}, 208 - #line 55 "scripts/genksyms/keywords.gperf" 207 + #line 56 "scripts/genksyms/keywords.gperf" 209 208 {"typedef", TYPEDEF_KEYW}, 210 209 {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, 211 210 {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, 212 211 {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, 213 - #line 46 "scripts/genksyms/keywords.gperf" 212 + #line 47 "scripts/genksyms/keywords.gperf" 214 213 {"float", FLOAT_KEYW} 215 214 }; 216 215
+356 -352
scripts/genksyms/parse.tab.c_shipped
··· 172 172 VOID_KEYW = 281, 173 173 VOLATILE_KEYW = 282, 174 174 TYPEOF_KEYW = 283, 175 - EXPORT_SYMBOL_KEYW = 284, 176 - ASM_PHRASE = 285, 177 - ATTRIBUTE_PHRASE = 286, 178 - TYPEOF_PHRASE = 287, 179 - BRACE_PHRASE = 288, 180 - BRACKET_PHRASE = 289, 181 - EXPRESSION_PHRASE = 290, 182 - CHAR = 291, 183 - DOTS = 292, 184 - IDENT = 293, 185 - INT = 294, 186 - REAL = 295, 187 - STRING = 296, 188 - TYPE = 297, 189 - OTHER = 298, 190 - FILENAME = 299 175 + VA_LIST_KEYW = 284, 176 + EXPORT_SYMBOL_KEYW = 285, 177 + ASM_PHRASE = 286, 178 + ATTRIBUTE_PHRASE = 287, 179 + TYPEOF_PHRASE = 288, 180 + BRACE_PHRASE = 289, 181 + BRACKET_PHRASE = 290, 182 + EXPRESSION_PHRASE = 291, 183 + CHAR = 292, 184 + DOTS = 293, 185 + IDENT = 294, 186 + INT = 295, 187 + REAL = 296, 188 + STRING = 297, 189 + TYPE = 298, 190 + OTHER = 299, 191 + FILENAME = 300 191 192 }; 192 193 #endif 193 194 ··· 440 439 /* YYFINAL -- State number of the termination state. */ 441 440 #define YYFINAL 4 442 441 /* YYLAST -- Last index in YYTABLE. */ 443 - #define YYLAST 515 442 + #define YYLAST 524 444 443 445 444 /* YYNTOKENS -- Number of terminals. */ 446 - #define YYNTOKENS 54 445 + #define YYNTOKENS 55 447 446 /* YYNNTS -- Number of nonterminals. */ 448 447 #define YYNNTS 49 449 448 /* YYNRULES -- Number of rules. */ 450 - #define YYNRULES 133 449 + #define YYNRULES 134 451 450 /* YYNRULES -- Number of states. */ 452 - #define YYNSTATES 188 451 + #define YYNSTATES 189 453 452 454 453 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ 455 454 #define YYUNDEFTOK 2 456 - #define YYMAXUTOK 299 455 + #define YYMAXUTOK 300 457 456 458 457 #define YYTRANSLATE(YYX) \ 459 458 ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) ··· 465 464 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 466 465 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 467 466 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 468 - 48, 49, 50, 2, 47, 2, 2, 2, 2, 2, 469 - 2, 2, 2, 2, 2, 2, 2, 2, 53, 45, 470 - 2, 51, 2, 2, 2, 2, 2, 2, 2, 2, 467 + 49, 50, 51, 2, 48, 2, 2, 2, 2, 2, 468 + 2, 2, 2, 2, 2, 2, 2, 2, 54, 46, 469 + 2, 52, 2, 2, 2, 2, 2, 2, 2, 2, 471 470 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 472 471 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 473 472 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 474 473 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 475 474 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 476 - 2, 2, 2, 52, 2, 46, 2, 2, 2, 2, 475 + 2, 2, 2, 53, 2, 47, 2, 2, 2, 2, 477 476 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 478 477 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 479 478 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ··· 490 489 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 491 490 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 492 491 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 493 - 35, 36, 37, 38, 39, 40, 41, 42, 43, 44 492 + 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 493 + 45 494 494 }; 495 495 496 496 #if YYDEBUG ··· 504 502 46, 50, 55, 56, 58, 60, 63, 65, 67, 69, 505 503 71, 73, 75, 77, 79, 81, 86, 88, 91, 94, 506 504 97, 101, 105, 109, 112, 115, 118, 120, 122, 124, 507 - 126, 128, 130, 132, 134, 136, 138, 140, 143, 144, 508 - 146, 148, 151, 153, 155, 157, 159, 162, 164, 166, 509 - 168, 173, 178, 181, 185, 189, 192, 194, 196, 198, 510 - 203, 208, 211, 215, 219, 222, 224, 228, 229, 231, 511 - 233, 237, 240, 243, 245, 246, 248, 250, 255, 260, 512 - 263, 267, 271, 275, 276, 278, 281, 285, 289, 290, 513 - 292, 294, 297, 301, 304, 305, 307, 309, 313, 316, 514 - 319, 321, 324, 325, 328, 332, 337, 339, 343, 345, 515 - 349, 352, 353, 355 505 + 126, 128, 130, 132, 134, 136, 138, 140, 142, 145, 506 + 146, 148, 150, 153, 155, 157, 159, 161, 164, 166, 507 + 168, 170, 175, 180, 183, 187, 191, 194, 196, 198, 508 + 200, 205, 210, 213, 217, 221, 224, 226, 230, 231, 509 + 233, 235, 239, 242, 245, 247, 248, 250, 252, 257, 510 + 262, 265, 269, 273, 277, 278, 280, 283, 287, 291, 511 + 292, 294, 296, 299, 303, 306, 307, 309, 311, 315, 512 + 318, 321, 323, 326, 327, 330, 334, 339, 341, 345, 513 + 347, 351, 354, 355, 357 516 514 }; 517 515 518 516 /* YYRHS -- A `-1'-separated list of the rules' RHS. */ 519 517 static const yytype_int8 yyrhs[] = 520 518 { 521 - 55, 0, -1, 56, -1, 55, 56, -1, -1, 57, 522 - 58, -1, -1, 12, 23, 59, 61, -1, -1, 23, 523 - 60, 61, -1, 61, -1, 85, -1, 100, -1, 102, 524 - -1, 1, 45, -1, 1, 46, -1, 65, 62, 45, 525 - -1, -1, 63, -1, 64, -1, 63, 47, 64, -1, 526 - 75, 101, 96, 86, -1, -1, 66, -1, 67, -1, 527 - 66, 67, -1, 68, -1, 69, -1, 5, -1, 17, 528 - -1, 21, -1, 11, -1, 14, -1, 70, -1, 74, 529 - -1, 28, 48, 82, 49, -1, 32, -1, 22, 38, 530 - -1, 24, 38, -1, 10, 38, -1, 22, 38, 88, 531 - -1, 24, 38, 88, -1, 10, 38, 97, -1, 10, 532 - 97, -1, 22, 88, -1, 24, 88, -1, 7, -1, 519 + 56, 0, -1, 57, -1, 56, 57, -1, -1, 58, 520 + 59, -1, -1, 12, 23, 60, 62, -1, -1, 23, 521 + 61, 62, -1, 62, -1, 86, -1, 101, -1, 103, 522 + -1, 1, 46, -1, 1, 47, -1, 66, 63, 46, 523 + -1, -1, 64, -1, 65, -1, 64, 48, 65, -1, 524 + 76, 102, 97, 87, -1, -1, 67, -1, 68, -1, 525 + 67, 68, -1, 69, -1, 70, -1, 5, -1, 17, 526 + -1, 21, -1, 11, -1, 14, -1, 71, -1, 75, 527 + -1, 28, 49, 83, 50, -1, 33, -1, 22, 39, 528 + -1, 24, 39, -1, 10, 39, -1, 22, 39, 89, 529 + -1, 24, 39, 89, -1, 10, 39, 98, -1, 10, 530 + 98, -1, 22, 89, -1, 24, 89, -1, 7, -1, 533 531 19, -1, 15, -1, 16, -1, 20, -1, 25, -1, 534 - 13, -1, 9, -1, 26, -1, 6, -1, 42, -1, 535 - 50, 72, -1, -1, 73, -1, 74, -1, 73, 74, 536 - -1, 8, -1, 27, -1, 31, -1, 18, -1, 71, 537 - 75, -1, 76, -1, 38, -1, 42, -1, 76, 48, 538 - 79, 49, -1, 76, 48, 1, 49, -1, 76, 34, 539 - -1, 48, 75, 49, -1, 48, 1, 49, -1, 71, 540 - 77, -1, 78, -1, 38, -1, 42, -1, 78, 48, 541 - 79, 49, -1, 78, 48, 1, 49, -1, 78, 34, 542 - -1, 48, 77, 49, -1, 48, 1, 49, -1, 80, 543 - 37, -1, 80, -1, 81, 47, 37, -1, -1, 81, 544 - -1, 82, -1, 81, 47, 82, -1, 66, 83, -1, 545 - 71, 83, -1, 84, -1, -1, 38, -1, 42, -1, 546 - 84, 48, 79, 49, -1, 84, 48, 1, 49, -1, 547 - 84, 34, -1, 48, 83, 49, -1, 48, 1, 49, 548 - -1, 65, 75, 33, -1, -1, 87, -1, 51, 35, 549 - -1, 52, 89, 46, -1, 52, 1, 46, -1, -1, 550 - 90, -1, 91, -1, 90, 91, -1, 65, 92, 45, 551 - -1, 1, 45, -1, -1, 93, -1, 94, -1, 93, 552 - 47, 94, -1, 77, 96, -1, 38, 95, -1, 95, 553 - -1, 53, 35, -1, -1, 96, 31, -1, 52, 98, 554 - 46, -1, 52, 98, 47, 46, -1, 99, -1, 98, 555 - 47, 99, -1, 38, -1, 38, 51, 35, -1, 30, 556 - 45, -1, -1, 30, -1, 29, 48, 38, 49, 45, 557 - -1 532 + 13, -1, 9, -1, 26, -1, 6, -1, 29, -1, 533 + 43, -1, 51, 73, -1, -1, 74, -1, 75, -1, 534 + 74, 75, -1, 8, -1, 27, -1, 32, -1, 18, 535 + -1, 72, 76, -1, 77, -1, 39, -1, 43, -1, 536 + 77, 49, 80, 50, -1, 77, 49, 1, 50, -1, 537 + 77, 35, -1, 49, 76, 50, -1, 49, 1, 50, 538 + -1, 72, 78, -1, 79, -1, 39, -1, 43, -1, 539 + 79, 49, 80, 50, -1, 79, 49, 1, 50, -1, 540 + 79, 35, -1, 49, 78, 50, -1, 49, 1, 50, 541 + -1, 81, 38, -1, 81, -1, 82, 48, 38, -1, 542 + -1, 82, -1, 83, -1, 82, 48, 83, -1, 67, 543 + 84, -1, 72, 84, -1, 85, -1, -1, 39, -1, 544 + 43, -1, 85, 49, 80, 50, -1, 85, 49, 1, 545 + 50, -1, 85, 35, -1, 49, 84, 50, -1, 49, 546 + 1, 50, -1, 66, 76, 34, -1, -1, 88, -1, 547 + 52, 36, -1, 53, 90, 47, -1, 53, 1, 47, 548 + -1, -1, 91, -1, 92, -1, 91, 92, -1, 66, 549 + 93, 46, -1, 1, 46, -1, -1, 94, -1, 95, 550 + -1, 94, 48, 95, -1, 78, 97, -1, 39, 96, 551 + -1, 96, -1, 54, 36, -1, -1, 97, 32, -1, 552 + 53, 99, 47, -1, 53, 99, 48, 47, -1, 100, 553 + -1, 99, 48, 100, -1, 39, -1, 39, 52, 36, 554 + -1, 31, 46, -1, -1, 31, -1, 30, 49, 39, 555 + 50, 46, -1 558 556 }; 559 557 560 558 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 561 559 static const yytype_uint16 yyrline[] = 562 560 { 563 - 0, 124, 124, 125, 129, 129, 135, 135, 137, 137, 564 - 139, 140, 141, 142, 143, 144, 148, 162, 163, 167, 565 - 175, 188, 194, 195, 199, 200, 204, 210, 214, 215, 566 - 216, 217, 218, 222, 223, 224, 225, 229, 231, 233, 567 - 237, 239, 241, 246, 249, 250, 254, 255, 256, 257, 568 - 258, 259, 260, 261, 262, 263, 264, 268, 273, 274, 569 - 278, 279, 283, 283, 283, 284, 292, 293, 297, 306, 570 - 315, 317, 319, 321, 323, 330, 331, 335, 336, 337, 571 - 339, 341, 343, 345, 350, 351, 352, 356, 357, 361, 572 - 362, 367, 372, 374, 378, 379, 387, 391, 393, 395, 573 - 397, 399, 404, 413, 414, 419, 424, 425, 429, 430, 574 - 434, 435, 439, 441, 446, 447, 451, 452, 456, 457, 575 - 458, 462, 466, 467, 471, 472, 476, 477, 480, 485, 576 - 493, 497, 498, 502 561 + 0, 125, 125, 126, 130, 130, 136, 136, 138, 138, 562 + 140, 141, 142, 143, 144, 145, 149, 163, 164, 168, 563 + 176, 189, 195, 196, 200, 201, 205, 211, 215, 216, 564 + 217, 218, 219, 223, 224, 225, 226, 230, 232, 234, 565 + 238, 240, 242, 247, 250, 251, 255, 256, 257, 258, 566 + 259, 260, 261, 262, 263, 264, 265, 266, 270, 275, 567 + 276, 280, 281, 285, 285, 285, 286, 294, 295, 299, 568 + 308, 317, 319, 321, 323, 325, 332, 333, 337, 338, 569 + 339, 341, 343, 345, 347, 352, 353, 354, 358, 359, 570 + 363, 364, 369, 374, 376, 380, 381, 389, 393, 395, 571 + 397, 399, 401, 406, 415, 416, 421, 426, 427, 431, 572 + 432, 436, 437, 441, 443, 448, 449, 453, 454, 458, 573 + 459, 460, 464, 468, 469, 473, 474, 478, 479, 482, 574 + 487, 495, 499, 500, 504 577 575 }; 578 576 #endif 579 577 ··· 588 586 "INLINE_KEYW", "INT_KEYW", "LONG_KEYW", "REGISTER_KEYW", "RESTRICT_KEYW", 589 587 "SHORT_KEYW", "SIGNED_KEYW", "STATIC_KEYW", "STRUCT_KEYW", 590 588 "TYPEDEF_KEYW", "UNION_KEYW", "UNSIGNED_KEYW", "VOID_KEYW", 591 - "VOLATILE_KEYW", "TYPEOF_KEYW", "EXPORT_SYMBOL_KEYW", "ASM_PHRASE", 592 - "ATTRIBUTE_PHRASE", "TYPEOF_PHRASE", "BRACE_PHRASE", "BRACKET_PHRASE", 593 - "EXPRESSION_PHRASE", "CHAR", "DOTS", "IDENT", "INT", "REAL", "STRING", 594 - "TYPE", "OTHER", "FILENAME", "';'", "'}'", "','", "'('", "')'", "'*'", 595 - "'='", "'{'", "':'", "$accept", "declaration_seq", "declaration", "$@1", 596 - "declaration1", "$@2", "$@3", "simple_declaration", 589 + "VOLATILE_KEYW", "TYPEOF_KEYW", "VA_LIST_KEYW", "EXPORT_SYMBOL_KEYW", 590 + "ASM_PHRASE", "ATTRIBUTE_PHRASE", "TYPEOF_PHRASE", "BRACE_PHRASE", 591 + "BRACKET_PHRASE", "EXPRESSION_PHRASE", "CHAR", "DOTS", "IDENT", "INT", 592 + "REAL", "STRING", "TYPE", "OTHER", "FILENAME", "';'", "'}'", "','", 593 + "'('", "')'", "'*'", "'='", "'{'", "':'", "$accept", "declaration_seq", 594 + "declaration", "$@1", "declaration1", "$@2", "$@3", "simple_declaration", 597 595 "init_declarator_list_opt", "init_declarator_list", "init_declarator", 598 596 "decl_specifier_seq_opt", "decl_specifier_seq", "decl_specifier", 599 597 "storage_class_specifier", "type_specifier", "simple_type_specifier", ··· 621 619 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 622 620 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 623 621 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 624 - 295, 296, 297, 298, 299, 59, 125, 44, 40, 41, 625 - 42, 61, 123, 58 622 + 295, 296, 297, 298, 299, 300, 59, 125, 44, 40, 623 + 41, 42, 61, 123, 58 626 624 }; 627 625 # endif 628 626 629 627 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ 630 628 static const yytype_uint8 yyr1[] = 631 629 { 632 - 0, 54, 55, 55, 57, 56, 59, 58, 60, 58, 633 - 58, 58, 58, 58, 58, 58, 61, 62, 62, 63, 634 - 63, 64, 65, 65, 66, 66, 67, 67, 68, 68, 635 - 68, 68, 68, 69, 69, 69, 69, 69, 69, 69, 636 - 69, 69, 69, 69, 69, 69, 70, 70, 70, 70, 637 - 70, 70, 70, 70, 70, 70, 70, 71, 72, 72, 638 - 73, 73, 74, 74, 74, 74, 75, 75, 76, 76, 639 - 76, 76, 76, 76, 76, 77, 77, 78, 78, 78, 640 - 78, 78, 78, 78, 79, 79, 79, 80, 80, 81, 641 - 81, 82, 83, 83, 84, 84, 84, 84, 84, 84, 642 - 84, 84, 85, 86, 86, 87, 88, 88, 89, 89, 643 - 90, 90, 91, 91, 92, 92, 93, 93, 94, 94, 644 - 94, 95, 96, 96, 97, 97, 98, 98, 99, 99, 645 - 100, 101, 101, 102 630 + 0, 55, 56, 56, 58, 57, 60, 59, 61, 59, 631 + 59, 59, 59, 59, 59, 59, 62, 63, 63, 64, 632 + 64, 65, 66, 66, 67, 67, 68, 68, 69, 69, 633 + 69, 69, 69, 70, 70, 70, 70, 70, 70, 70, 634 + 70, 70, 70, 70, 70, 70, 71, 71, 71, 71, 635 + 71, 71, 71, 71, 71, 71, 71, 71, 72, 73, 636 + 73, 74, 74, 75, 75, 75, 75, 76, 76, 77, 637 + 77, 77, 77, 77, 77, 77, 78, 78, 79, 79, 638 + 79, 79, 79, 79, 79, 80, 80, 80, 81, 81, 639 + 82, 82, 83, 84, 84, 85, 85, 85, 85, 85, 640 + 85, 85, 85, 86, 87, 87, 88, 89, 89, 90, 641 + 90, 91, 91, 92, 92, 93, 93, 94, 94, 95, 642 + 95, 95, 96, 97, 97, 98, 98, 99, 99, 100, 643 + 100, 101, 102, 102, 103 646 644 }; 647 645 648 646 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ ··· 653 651 3, 4, 0, 1, 1, 2, 1, 1, 1, 1, 654 652 1, 1, 1, 1, 1, 4, 1, 2, 2, 2, 655 653 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 656 - 1, 1, 1, 1, 1, 1, 1, 2, 0, 1, 657 - 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 658 - 4, 4, 2, 3, 3, 2, 1, 1, 1, 4, 659 - 4, 2, 3, 3, 2, 1, 3, 0, 1, 1, 660 - 3, 2, 2, 1, 0, 1, 1, 4, 4, 2, 661 - 3, 3, 3, 0, 1, 2, 3, 3, 0, 1, 662 - 1, 2, 3, 2, 0, 1, 1, 3, 2, 2, 663 - 1, 2, 0, 2, 3, 4, 1, 3, 1, 3, 664 - 2, 0, 1, 5 654 + 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 655 + 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 656 + 1, 4, 4, 2, 3, 3, 2, 1, 1, 1, 657 + 4, 4, 2, 3, 3, 2, 1, 3, 0, 1, 658 + 1, 3, 2, 2, 1, 0, 1, 1, 4, 4, 659 + 2, 3, 3, 3, 0, 1, 2, 3, 3, 0, 660 + 1, 1, 2, 3, 2, 0, 1, 1, 3, 2, 661 + 2, 1, 2, 0, 2, 3, 4, 1, 3, 1, 662 + 3, 2, 0, 1, 5 665 663 }; 666 664 667 665 /* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. ··· 670 668 static const yytype_uint8 yydefact[] = 671 669 { 672 670 4, 4, 2, 0, 1, 3, 0, 28, 55, 46, 673 - 62, 53, 0, 31, 0, 52, 32, 48, 49, 29, 674 - 65, 47, 50, 30, 0, 8, 0, 51, 54, 63, 675 - 0, 0, 0, 64, 36, 56, 5, 10, 17, 23, 676 - 24, 26, 27, 33, 34, 11, 12, 13, 14, 15, 677 - 39, 0, 43, 6, 37, 0, 44, 22, 38, 45, 678 - 0, 0, 130, 68, 69, 0, 58, 0, 18, 19, 679 - 0, 131, 67, 25, 42, 128, 0, 126, 22, 40, 680 - 0, 114, 0, 0, 110, 9, 17, 41, 94, 0, 681 - 0, 0, 0, 57, 59, 60, 16, 0, 66, 132, 682 - 102, 122, 72, 0, 0, 124, 0, 7, 113, 107, 683 - 77, 78, 0, 0, 0, 122, 76, 0, 115, 116, 684 - 120, 106, 0, 111, 131, 95, 56, 0, 94, 91, 685 - 93, 35, 0, 74, 73, 61, 20, 103, 0, 0, 686 - 85, 88, 89, 129, 125, 127, 119, 0, 77, 0, 687 - 121, 75, 118, 81, 0, 112, 0, 0, 96, 0, 688 - 92, 99, 0, 133, 123, 0, 21, 104, 71, 70, 689 - 84, 0, 83, 82, 0, 0, 117, 101, 100, 0, 690 - 0, 105, 86, 90, 80, 79, 98, 97 671 + 63, 53, 0, 31, 0, 52, 32, 48, 49, 29, 672 + 66, 47, 50, 30, 0, 8, 0, 51, 54, 64, 673 + 0, 56, 0, 0, 65, 36, 57, 5, 10, 17, 674 + 23, 24, 26, 27, 33, 34, 11, 12, 13, 14, 675 + 15, 39, 0, 43, 6, 37, 0, 44, 22, 38, 676 + 45, 0, 0, 131, 69, 70, 0, 59, 0, 18, 677 + 19, 0, 132, 68, 25, 42, 129, 0, 127, 22, 678 + 40, 0, 115, 0, 0, 111, 9, 17, 41, 95, 679 + 0, 0, 0, 0, 58, 60, 61, 16, 0, 67, 680 + 133, 103, 123, 73, 0, 0, 125, 0, 7, 114, 681 + 108, 78, 79, 0, 0, 0, 123, 77, 0, 116, 682 + 117, 121, 107, 0, 112, 132, 96, 57, 0, 95, 683 + 92, 94, 35, 0, 75, 74, 62, 20, 104, 0, 684 + 0, 86, 89, 90, 130, 126, 128, 120, 0, 78, 685 + 0, 122, 76, 119, 82, 0, 113, 0, 0, 97, 686 + 0, 93, 100, 0, 134, 124, 0, 21, 105, 72, 687 + 71, 85, 0, 84, 83, 0, 0, 118, 102, 101, 688 + 0, 0, 106, 87, 91, 81, 80, 99, 98 691 689 }; 692 690 693 691 /* YYDEFGOTO[NTERM-NUM]. */ 694 692 static const yytype_int16 yydefgoto[] = 695 693 { 696 - -1, 1, 2, 3, 36, 78, 57, 37, 67, 68, 697 - 69, 81, 39, 40, 41, 42, 43, 70, 93, 94, 698 - 44, 124, 72, 115, 116, 139, 140, 141, 142, 129, 699 - 130, 45, 166, 167, 56, 82, 83, 84, 117, 118, 700 - 119, 120, 137, 52, 76, 77, 46, 101, 47 694 + -1, 1, 2, 3, 37, 79, 58, 38, 68, 69, 695 + 70, 82, 40, 41, 42, 43, 44, 71, 94, 95, 696 + 45, 125, 73, 116, 117, 140, 141, 142, 143, 130, 697 + 131, 46, 167, 168, 57, 83, 84, 85, 118, 119, 698 + 120, 121, 138, 53, 77, 78, 47, 102, 48 701 699 }; 702 700 703 701 /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing 704 702 STATE-NUM. */ 705 - #define YYPACT_NINF -92 703 + #define YYPACT_NINF -111 706 704 static const yytype_int16 yypact[] = 707 705 { 708 - -92, 19, -92, 208, -92, -92, 39, -92, -92, -92, 709 - -92, -92, -27, -92, 23, -92, -92, -92, -92, -92, 710 - -92, -92, -92, -92, -22, -92, 9, -92, -92, -92, 711 - -6, 16, 25, -92, -92, -92, -92, -92, 31, 473, 712 - -92, -92, -92, -92, -92, -92, -92, -92, -92, -92, 713 - 49, 37, -92, -92, 51, 108, -92, 473, 51, -92, 714 - 473, 59, -92, -92, -92, 12, -3, 60, 57, -92, 715 - 31, -7, 24, -92, -92, 55, 42, -92, 473, -92, 716 - 46, -21, 61, 158, -92, -92, 31, -92, 389, 71, 717 - 82, 88, 89, -92, -3, -92, -92, 31, -92, -92, 718 - -92, -92, -92, 254, 73, -92, -24, -92, -92, -92, 719 - 90, -92, 17, 75, 45, -92, 32, 96, 95, -92, 720 - -92, -92, 99, -92, 115, -92, -92, 3, 48, -92, 721 - 34, -92, 102, -92, -92, -92, -92, -11, 100, 103, 722 - 111, 104, -92, -92, -92, -92, -92, 106, -92, 113, 723 - -92, -92, 126, -92, 299, -92, -21, 121, -92, 132, 724 - -92, -92, 344, -92, -92, 125, -92, -92, -92, -92, 725 - -92, 435, -92, -92, 138, 139, -92, -92, -92, 142, 726 - 143, -92, -92, -92, -92, -92, -92, -92 706 + -111, 13, -111, 210, -111, -111, 28, -111, -111, -111, 707 + -111, -111, -27, -111, 44, -111, -111, -111, -111, -111, 708 + -111, -111, -111, -111, -24, -111, -20, -111, -111, -111, 709 + 31, -111, 32, 42, -111, -111, -111, -111, -111, 34, 710 + 481, -111, -111, -111, -111, -111, -111, -111, -111, -111, 711 + -111, 51, 56, -111, -111, 52, 108, -111, 481, 52, 712 + -111, 481, 58, -111, -111, -111, 19, 0, 54, 55, 713 + -111, 34, 30, -18, -111, -111, 68, -25, -111, 481, 714 + -111, 45, 33, 59, 159, -111, -111, 34, -111, 395, 715 + 57, 60, 81, 88, -111, 0, -111, -111, 34, -111, 716 + -111, -111, -111, -111, 257, 72, -111, -23, -111, -111, 717 + -111, 85, -111, 20, 106, 47, -111, -10, 97, 96, 718 + -111, -111, -111, 99, -111, 115, -111, -111, 5, 50, 719 + -111, 11, -111, 102, -111, -111, -111, -111, -22, 100, 720 + 103, 111, 104, -111, -111, -111, -111, -111, 113, -111, 721 + 121, -111, -111, 124, -111, 303, -111, 33, 132, -111, 722 + 139, -111, -111, 349, -111, -111, 122, -111, -111, -111, 723 + -111, -111, 442, -111, -111, 140, 143, -111, -111, -111, 724 + 144, 145, -111, -111, -111, -111, -111, -111, -111 727 725 }; 728 726 729 727 /* YYPGOTO[NTERM-NUM]. */ 730 728 static const yytype_int16 yypgoto[] = 731 729 { 732 - -92, -92, 192, -92, -92, -92, -92, -47, -92, -92, 733 - 97, 0, -60, -32, -92, -92, -92, -79, -92, -92, 734 - -58, -26, -92, -38, -92, -91, -92, -92, -59, -28, 735 - -92, -92, -92, -92, -20, -92, -92, 112, -92, -92, 736 - 41, 91, 83, 149, -92, 101, -92, -92, -92 730 + -111, -111, 160, -111, -111, -111, -111, -51, -111, -111, 731 + 98, -1, -61, -37, -111, -111, -111, -78, -111, -111, 732 + -53, -30, -111, -66, -111, -110, -111, -111, -60, -63, 733 + -111, -111, -111, -111, -21, -111, -111, 116, -111, -111, 734 + 40, 90, 83, 152, -111, 105, -111, -111, -111 737 735 }; 738 736 739 737 /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If 740 738 positive, shift that token. If negative, reduce the rule which 741 739 number is the opposite. If YYTABLE_NINF, syntax error. */ 742 - #define YYTABLE_NINF -110 740 + #define YYTABLE_NINF -111 743 741 static const yytype_int16 yytable[] = 744 742 { 745 - 88, 89, 114, 38, 157, 10, 59, 73, 95, 128, 746 - 85, 50, 71, 91, 75, 20, 54, 110, 147, 4, 747 - 164, 111, 144, 99, 29, 51, 100, 112, 33, 66, 748 - 55, 107, 113, 114, 79, 114, 135, -94, 87, 92, 749 - 165, 125, 60, 88, 98, 158, 53, 58, 128, 128, 750 - 63, 127, -94, 66, 64, 148, 73, 86, 102, 111, 751 - 65, 55, 66, 175, 61, 112, 153, 66, 161, 63, 752 - 62, 180, 103, 64, 149, 75, 151, 114, 86, 65, 753 - 154, 66, 162, 148, 48, 49, 125, 111, 105, 106, 754 - 158, 108, 109, 112, 88, 66, 127, 90, 66, 159, 755 - 160, 51, 88, 55, 97, 96, 104, 121, 143, 80, 756 - 150, 88, 183, 7, 8, 9, 10, 11, 12, 13, 757 - 131, 15, 16, 17, 18, 19, 20, 21, 22, 23, 758 - 24, 132, 26, 27, 28, 29, 30, 133, 134, 33, 759 - 34, 155, 156, 113, 108, 99, -22, 163, 170, 168, 760 - 35, 171, 169, -22, -108, 172, -22, 164, -22, 122, 761 - 181, -22, 173, 7, 8, 9, 10, 11, 12, 13, 762 - 177, 15, 16, 17, 18, 19, 20, 21, 22, 23, 763 - 24, 178, 26, 27, 28, 29, 30, 184, 185, 33, 764 - 34, 186, 187, 5, 136, 123, -22, 176, 152, 74, 765 - 35, 146, 0, -22, -109, 0, -22, 145, -22, 6, 766 - 0, -22, 0, 7, 8, 9, 10, 11, 12, 13, 767 - 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 768 - 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 769 - 34, 0, 0, 0, 0, 0, -22, 0, 0, 0, 770 - 35, 0, 0, -22, 0, 138, -22, 0, -22, 7, 771 - 8, 9, 10, 11, 12, 13, 0, 15, 16, 17, 772 - 18, 19, 20, 21, 22, 23, 24, 0, 26, 27, 773 - 28, 29, 30, 0, 0, 33, 34, 0, 0, 0, 774 - 0, -87, 0, 0, 0, 0, 35, 0, 0, 0, 775 - 174, 0, 0, -87, 7, 8, 9, 10, 11, 12, 776 - 13, 0, 15, 16, 17, 18, 19, 20, 21, 22, 777 - 23, 24, 0, 26, 27, 28, 29, 30, 0, 0, 778 - 33, 34, 0, 0, 0, 0, -87, 0, 0, 0, 779 - 0, 35, 0, 0, 0, 179, 0, 0, -87, 7, 780 - 8, 9, 10, 11, 12, 13, 0, 15, 16, 17, 781 - 18, 19, 20, 21, 22, 23, 24, 0, 26, 27, 782 - 28, 29, 30, 0, 0, 33, 34, 0, 0, 0, 783 - 0, -87, 0, 0, 0, 0, 35, 0, 0, 0, 784 - 0, 0, 0, -87, 7, 8, 9, 10, 11, 12, 785 - 13, 0, 15, 16, 17, 18, 19, 20, 21, 22, 786 - 23, 24, 0, 26, 27, 28, 29, 30, 0, 0, 787 - 33, 34, 0, 0, 0, 0, 0, 125, 0, 0, 788 - 0, 126, 0, 0, 0, 0, 0, 127, 0, 66, 789 - 7, 8, 9, 10, 11, 12, 13, 0, 15, 16, 790 - 17, 18, 19, 20, 21, 22, 23, 24, 0, 26, 791 - 27, 28, 29, 30, 0, 0, 33, 34, 0, 0, 792 - 0, 0, 182, 0, 0, 0, 0, 35, 7, 8, 743 + 89, 90, 39, 74, 115, 60, 158, 86, 10, 72, 744 + 165, 129, 51, 4, 96, 55, 76, 103, 20, 59, 745 + 92, 148, 106, 107, 145, 154, 52, 29, 108, 56, 746 + 166, 104, 34, 56, 80, 115, 93, 115, 88, 155, 747 + -95, 99, 136, 89, 126, 176, 162, 150, 159, 152, 748 + 129, 129, 74, 181, 128, -95, 67, 87, 64, 149, 749 + 163, 100, 65, 112, 101, 160, 161, 54, 66, 113, 750 + 67, 67, 111, 64, 49, 50, 112, 65, 87, 115, 751 + 61, 62, 113, 66, 67, 67, 149, 114, 63, 126, 752 + 112, 109, 110, 159, 89, 76, 113, 91, 67, 128, 753 + 97, 67, 89, 98, 52, 56, 122, 132, 144, 81, 754 + 133, 89, 184, 7, 8, 9, 10, 11, 12, 13, 755 + 105, 15, 16, 17, 18, 19, 20, 21, 22, 23, 756 + 24, 134, 26, 27, 28, 29, 30, 31, 135, 114, 757 + 34, 35, 151, 156, 157, 109, 100, -22, 164, 171, 758 + 169, 36, 172, 170, -22, -109, 165, -22, 182, -22, 759 + 123, 5, -22, 173, 7, 8, 9, 10, 11, 12, 760 + 13, 174, 15, 16, 17, 18, 19, 20, 21, 22, 761 + 23, 24, 178, 26, 27, 28, 29, 30, 31, 179, 762 + 185, 34, 35, 186, 187, 188, 137, 177, -22, 153, 763 + 124, 147, 36, 75, 0, -22, -110, 0, -22, 0, 764 + -22, 6, 146, -22, 0, 7, 8, 9, 10, 11, 765 + 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 766 + 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 767 + 32, 33, 34, 35, 0, 0, 0, 0, 0, -22, 768 + 0, 0, 0, 36, 0, 0, -22, 0, 139, -22, 769 + 0, -22, 7, 8, 9, 10, 11, 12, 13, 0, 770 + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 771 + 0, 26, 27, 28, 29, 30, 31, 0, 0, 34, 772 + 35, 0, 0, 0, 0, -88, 0, 0, 0, 0, 773 + 36, 0, 0, 0, 175, 0, 0, -88, 7, 8, 793 774 9, 10, 11, 12, 13, 0, 15, 16, 17, 18, 794 775 19, 20, 21, 22, 23, 24, 0, 26, 27, 28, 795 - 29, 30, 0, 0, 33, 34, 0, 0, 0, 0, 796 - 0, 0, 0, 0, 0, 35 776 + 29, 30, 31, 0, 0, 34, 35, 0, 0, 0, 777 + 0, -88, 0, 0, 0, 0, 36, 0, 0, 0, 778 + 180, 0, 0, -88, 7, 8, 9, 10, 11, 12, 779 + 13, 0, 15, 16, 17, 18, 19, 20, 21, 22, 780 + 23, 24, 0, 26, 27, 28, 29, 30, 31, 0, 781 + 0, 34, 35, 0, 0, 0, 0, -88, 0, 0, 782 + 0, 0, 36, 0, 0, 0, 0, 0, 0, -88, 783 + 7, 8, 9, 10, 11, 12, 13, 0, 15, 16, 784 + 17, 18, 19, 20, 21, 22, 23, 24, 0, 26, 785 + 27, 28, 29, 30, 31, 0, 0, 34, 35, 0, 786 + 0, 0, 0, 0, 126, 0, 0, 0, 127, 0, 787 + 0, 0, 0, 0, 128, 0, 67, 7, 8, 9, 788 + 10, 11, 12, 13, 0, 15, 16, 17, 18, 19, 789 + 20, 21, 22, 23, 24, 0, 26, 27, 28, 29, 790 + 30, 31, 0, 0, 34, 35, 0, 0, 0, 0, 791 + 183, 0, 0, 0, 0, 36, 7, 8, 9, 10, 792 + 11, 12, 13, 0, 15, 16, 17, 18, 19, 20, 793 + 21, 22, 23, 24, 0, 26, 27, 28, 29, 30, 794 + 31, 0, 0, 34, 35, 0, 0, 0, 0, 0, 795 + 0, 0, 0, 0, 36 797 796 }; 798 797 799 798 #define yypact_value_is_default(Yystate) \ 800 - (!!((Yystate) == (-92))) 799 + (!!((Yystate) == (-111))) 801 800 802 801 #define yytable_value_is_error(Yytable_value) \ 803 802 YYID (0) 804 803 805 804 static const yytype_int16 yycheck[] = 806 805 { 807 - 60, 60, 81, 3, 1, 8, 26, 39, 66, 88, 808 - 57, 38, 38, 1, 38, 18, 38, 38, 1, 0, 809 - 31, 42, 46, 30, 27, 52, 33, 48, 31, 50, 810 - 52, 78, 53, 112, 54, 114, 94, 34, 58, 65, 811 - 51, 38, 48, 103, 70, 42, 23, 38, 127, 128, 812 - 38, 48, 49, 50, 42, 38, 88, 57, 34, 42, 813 - 48, 52, 50, 154, 48, 48, 34, 50, 34, 38, 814 - 45, 162, 48, 42, 112, 38, 114, 156, 78, 48, 815 - 48, 50, 48, 38, 45, 46, 38, 42, 46, 47, 816 - 42, 45, 46, 48, 154, 50, 48, 38, 50, 127, 817 - 128, 52, 162, 52, 47, 45, 51, 46, 35, 1, 818 - 35, 171, 171, 5, 6, 7, 8, 9, 10, 11, 819 - 49, 13, 14, 15, 16, 17, 18, 19, 20, 21, 820 - 22, 49, 24, 25, 26, 27, 28, 49, 49, 31, 821 - 32, 45, 47, 53, 45, 30, 38, 45, 37, 49, 822 - 42, 47, 49, 45, 46, 49, 48, 31, 50, 1, 823 - 35, 53, 49, 5, 6, 7, 8, 9, 10, 11, 824 - 49, 13, 14, 15, 16, 17, 18, 19, 20, 21, 825 - 22, 49, 24, 25, 26, 27, 28, 49, 49, 31, 826 - 32, 49, 49, 1, 97, 83, 38, 156, 115, 50, 827 - 42, 110, -1, 45, 46, -1, 48, 106, 50, 1, 828 - -1, 53, -1, 5, 6, 7, 8, 9, 10, 11, 829 - 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 830 - 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 831 - 32, -1, -1, -1, -1, -1, 38, -1, -1, -1, 832 - 42, -1, -1, 45, -1, 1, 48, -1, 50, 5, 833 - 6, 7, 8, 9, 10, 11, -1, 13, 14, 15, 834 - 16, 17, 18, 19, 20, 21, 22, -1, 24, 25, 835 - 26, 27, 28, -1, -1, 31, 32, -1, -1, -1, 836 - -1, 37, -1, -1, -1, -1, 42, -1, -1, -1, 837 - 1, -1, -1, 49, 5, 6, 7, 8, 9, 10, 838 - 11, -1, 13, 14, 15, 16, 17, 18, 19, 20, 839 - 21, 22, -1, 24, 25, 26, 27, 28, -1, -1, 840 - 31, 32, -1, -1, -1, -1, 37, -1, -1, -1, 841 - -1, 42, -1, -1, -1, 1, -1, -1, 49, 5, 842 - 6, 7, 8, 9, 10, 11, -1, 13, 14, 15, 843 - 16, 17, 18, 19, 20, 21, 22, -1, 24, 25, 844 - 26, 27, 28, -1, -1, 31, 32, -1, -1, -1, 845 - -1, 37, -1, -1, -1, -1, 42, -1, -1, -1, 846 - -1, -1, -1, 49, 5, 6, 7, 8, 9, 10, 847 - 11, -1, 13, 14, 15, 16, 17, 18, 19, 20, 848 - 21, 22, -1, 24, 25, 26, 27, 28, -1, -1, 849 - 31, 32, -1, -1, -1, -1, -1, 38, -1, -1, 850 - -1, 42, -1, -1, -1, -1, -1, 48, -1, 50, 851 - 5, 6, 7, 8, 9, 10, 11, -1, 13, 14, 852 - 15, 16, 17, 18, 19, 20, 21, 22, -1, 24, 853 - 25, 26, 27, 28, -1, -1, 31, 32, -1, -1, 854 - -1, -1, 37, -1, -1, -1, -1, 42, 5, 6, 806 + 61, 61, 3, 40, 82, 26, 1, 58, 8, 39, 807 + 32, 89, 39, 0, 67, 39, 39, 35, 18, 39, 808 + 1, 1, 47, 48, 47, 35, 53, 27, 79, 53, 809 + 52, 49, 32, 53, 55, 113, 66, 115, 59, 49, 810 + 35, 71, 95, 104, 39, 155, 35, 113, 43, 115, 811 + 128, 129, 89, 163, 49, 50, 51, 58, 39, 39, 812 + 49, 31, 43, 43, 34, 128, 129, 23, 49, 49, 813 + 51, 51, 39, 39, 46, 47, 43, 43, 79, 157, 814 + 49, 49, 49, 49, 51, 51, 39, 54, 46, 39, 815 + 43, 46, 47, 43, 155, 39, 49, 39, 51, 49, 816 + 46, 51, 163, 48, 53, 53, 47, 50, 36, 1, 817 + 50, 172, 172, 5, 6, 7, 8, 9, 10, 11, 818 + 52, 13, 14, 15, 16, 17, 18, 19, 20, 21, 819 + 22, 50, 24, 25, 26, 27, 28, 29, 50, 54, 820 + 32, 33, 36, 46, 48, 46, 31, 39, 46, 38, 821 + 50, 43, 48, 50, 46, 47, 32, 49, 36, 51, 822 + 1, 1, 54, 50, 5, 6, 7, 8, 9, 10, 823 + 11, 50, 13, 14, 15, 16, 17, 18, 19, 20, 824 + 21, 22, 50, 24, 25, 26, 27, 28, 29, 50, 825 + 50, 32, 33, 50, 50, 50, 98, 157, 39, 116, 826 + 84, 111, 43, 51, -1, 46, 47, -1, 49, -1, 827 + 51, 1, 107, 54, -1, 5, 6, 7, 8, 9, 828 + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 829 + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 830 + 30, 31, 32, 33, -1, -1, -1, -1, -1, 39, 831 + -1, -1, -1, 43, -1, -1, 46, -1, 1, 49, 832 + -1, 51, 5, 6, 7, 8, 9, 10, 11, -1, 833 + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 834 + -1, 24, 25, 26, 27, 28, 29, -1, -1, 32, 835 + 33, -1, -1, -1, -1, 38, -1, -1, -1, -1, 836 + 43, -1, -1, -1, 1, -1, -1, 50, 5, 6, 855 837 7, 8, 9, 10, 11, -1, 13, 14, 15, 16, 856 838 17, 18, 19, 20, 21, 22, -1, 24, 25, 26, 857 - 27, 28, -1, -1, 31, 32, -1, -1, -1, -1, 858 - -1, -1, -1, -1, -1, 42 839 + 27, 28, 29, -1, -1, 32, 33, -1, -1, -1, 840 + -1, 38, -1, -1, -1, -1, 43, -1, -1, -1, 841 + 1, -1, -1, 50, 5, 6, 7, 8, 9, 10, 842 + 11, -1, 13, 14, 15, 16, 17, 18, 19, 20, 843 + 21, 22, -1, 24, 25, 26, 27, 28, 29, -1, 844 + -1, 32, 33, -1, -1, -1, -1, 38, -1, -1, 845 + -1, -1, 43, -1, -1, -1, -1, -1, -1, 50, 846 + 5, 6, 7, 8, 9, 10, 11, -1, 13, 14, 847 + 15, 16, 17, 18, 19, 20, 21, 22, -1, 24, 848 + 25, 26, 27, 28, 29, -1, -1, 32, 33, -1, 849 + -1, -1, -1, -1, 39, -1, -1, -1, 43, -1, 850 + -1, -1, -1, -1, 49, -1, 51, 5, 6, 7, 851 + 8, 9, 10, 11, -1, 13, 14, 15, 16, 17, 852 + 18, 19, 20, 21, 22, -1, 24, 25, 26, 27, 853 + 28, 29, -1, -1, 32, 33, -1, -1, -1, -1, 854 + 38, -1, -1, -1, -1, 43, 5, 6, 7, 8, 855 + 9, 10, 11, -1, 13, 14, 15, 16, 17, 18, 856 + 19, 20, 21, 22, -1, 24, 25, 26, 27, 28, 857 + 29, -1, -1, 32, 33, -1, -1, -1, -1, -1, 858 + -1, -1, -1, -1, 43 859 859 }; 860 860 861 861 /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing 862 862 symbol of state STATE-NUM. */ 863 863 static const yytype_uint8 yystos[] = 864 864 { 865 - 0, 55, 56, 57, 0, 56, 1, 5, 6, 7, 865 + 0, 56, 57, 58, 0, 57, 1, 5, 6, 7, 866 866 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 867 867 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 868 - 28, 29, 30, 31, 32, 42, 58, 61, 65, 66, 869 - 67, 68, 69, 70, 74, 85, 100, 102, 45, 46, 870 - 38, 52, 97, 23, 38, 52, 88, 60, 38, 88, 871 - 48, 48, 45, 38, 42, 48, 50, 62, 63, 64, 872 - 71, 75, 76, 67, 97, 38, 98, 99, 59, 88, 873 - 1, 65, 89, 90, 91, 61, 65, 88, 66, 82, 874 - 38, 1, 75, 72, 73, 74, 45, 47, 75, 30, 875 - 33, 101, 34, 48, 51, 46, 47, 61, 45, 46, 876 - 38, 42, 48, 53, 71, 77, 78, 92, 93, 94, 877 - 95, 46, 1, 91, 75, 38, 42, 48, 71, 83, 878 - 84, 49, 49, 49, 49, 74, 64, 96, 1, 79, 879 - 80, 81, 82, 35, 46, 99, 95, 1, 38, 77, 880 - 35, 77, 96, 34, 48, 45, 47, 1, 42, 83, 881 - 83, 34, 48, 45, 31, 51, 86, 87, 49, 49, 882 - 37, 47, 49, 49, 1, 79, 94, 49, 49, 1, 883 - 79, 35, 37, 82, 49, 49, 49, 49 868 + 28, 29, 30, 31, 32, 33, 43, 59, 62, 66, 869 + 67, 68, 69, 70, 71, 75, 86, 101, 103, 46, 870 + 47, 39, 53, 98, 23, 39, 53, 89, 61, 39, 871 + 89, 49, 49, 46, 39, 43, 49, 51, 63, 64, 872 + 65, 72, 76, 77, 68, 98, 39, 99, 100, 60, 873 + 89, 1, 66, 90, 91, 92, 62, 66, 89, 67, 874 + 83, 39, 1, 76, 73, 74, 75, 46, 48, 76, 875 + 31, 34, 102, 35, 49, 52, 47, 48, 62, 46, 876 + 47, 39, 43, 49, 54, 72, 78, 79, 93, 94, 877 + 95, 96, 47, 1, 92, 76, 39, 43, 49, 72, 878 + 84, 85, 50, 50, 50, 50, 75, 65, 97, 1, 879 + 80, 81, 82, 83, 36, 47, 100, 96, 1, 39, 880 + 78, 36, 78, 97, 35, 49, 46, 48, 1, 43, 881 + 84, 84, 35, 49, 46, 32, 52, 87, 88, 50, 882 + 50, 38, 48, 50, 50, 1, 80, 95, 50, 50, 883 + 1, 80, 36, 38, 83, 50, 50, 50, 50 884 884 }; 885 885 886 886 #define yyerrok (yyerrstatus = 0) ··· 1849 1845 { (yyval) = (yyvsp[(2) - (2)]); } 1850 1846 break; 1851 1847 1852 - case 56: 1848 + case 57: 1853 1849 1854 1850 { (*(yyvsp[(1) - (1)]))->tag = SYM_TYPEDEF; (yyval) = (yyvsp[(1) - (1)]); } 1855 1851 break; 1856 1852 1857 - case 57: 1853 + case 58: 1858 1854 1859 1855 { (yyval) = (yyvsp[(2) - (2)]) ? (yyvsp[(2) - (2)]) : (yyvsp[(1) - (2)]); } 1860 1856 break; 1861 1857 1862 - case 58: 1858 + case 59: 1863 1859 1864 1860 { (yyval) = NULL; } 1865 1861 break; 1866 1862 1867 - case 61: 1863 + case 62: 1868 1864 1869 1865 { (yyval) = (yyvsp[(2) - (2)]); } 1870 1866 break; 1871 1867 1872 - case 65: 1868 + case 66: 1873 1869 1874 1870 { /* restrict has no effect in prototypes so ignore it */ 1875 1871 remove_node((yyvsp[(1) - (1)])); ··· 1877 1873 } 1878 1874 break; 1879 1875 1880 - case 66: 1876 + case 67: 1881 1877 1882 1878 { (yyval) = (yyvsp[(2) - (2)]); } 1883 - break; 1884 - 1885 - case 68: 1886 - 1887 - { if (current_name != NULL) { 1888 - error_with_pos("unexpected second declaration name"); 1889 - YYERROR; 1890 - } else { 1891 - current_name = (*(yyvsp[(1) - (1)]))->string; 1892 - (yyval) = (yyvsp[(1) - (1)]); 1893 - } 1894 - } 1895 1879 break; 1896 1880 1897 1881 case 69: ··· 1896 1904 1897 1905 case 70: 1898 1906 1899 - { (yyval) = (yyvsp[(4) - (4)]); } 1907 + { if (current_name != NULL) { 1908 + error_with_pos("unexpected second declaration name"); 1909 + YYERROR; 1910 + } else { 1911 + current_name = (*(yyvsp[(1) - (1)]))->string; 1912 + (yyval) = (yyvsp[(1) - (1)]); 1913 + } 1914 + } 1900 1915 break; 1901 1916 1902 1917 case 71: ··· 1913 1914 1914 1915 case 72: 1915 1916 1916 - { (yyval) = (yyvsp[(2) - (2)]); } 1917 + { (yyval) = (yyvsp[(4) - (4)]); } 1917 1918 break; 1918 1919 1919 1920 case 73: 1920 1921 1921 - { (yyval) = (yyvsp[(3) - (3)]); } 1922 + { (yyval) = (yyvsp[(2) - (2)]); } 1922 1923 break; 1923 1924 1924 1925 case 74: ··· 1928 1929 1929 1930 case 75: 1930 1931 1931 - { (yyval) = (yyvsp[(2) - (2)]); } 1932 + { (yyval) = (yyvsp[(3) - (3)]); } 1932 1933 break; 1933 1934 1934 - case 79: 1935 + case 76: 1935 1936 1936 - { (yyval) = (yyvsp[(4) - (4)]); } 1937 + { (yyval) = (yyvsp[(2) - (2)]); } 1937 1938 break; 1938 1939 1939 1940 case 80: ··· 1943 1944 1944 1945 case 81: 1945 1946 1946 - { (yyval) = (yyvsp[(2) - (2)]); } 1947 + { (yyval) = (yyvsp[(4) - (4)]); } 1947 1948 break; 1948 1949 1949 1950 case 82: 1950 1951 1951 - { (yyval) = (yyvsp[(3) - (3)]); } 1952 + { (yyval) = (yyvsp[(2) - (2)]); } 1952 1953 break; 1953 1954 1954 1955 case 83: ··· 1958 1959 1959 1960 case 84: 1960 1961 1961 - { (yyval) = (yyvsp[(2) - (2)]); } 1962 + { (yyval) = (yyvsp[(3) - (3)]); } 1962 1963 break; 1963 1964 1964 - case 86: 1965 + case 85: 1965 1966 1966 - { (yyval) = (yyvsp[(3) - (3)]); } 1967 + { (yyval) = (yyvsp[(2) - (2)]); } 1967 1968 break; 1968 1969 1969 1970 case 87: 1970 1971 1971 - { (yyval) = NULL; } 1972 + { (yyval) = (yyvsp[(3) - (3)]); } 1972 1973 break; 1973 1974 1974 - case 90: 1975 + case 88: 1975 1976 1976 - { (yyval) = (yyvsp[(3) - (3)]); } 1977 + { (yyval) = NULL; } 1977 1978 break; 1978 1979 1979 1980 case 91: 1980 1981 1981 - { (yyval) = (yyvsp[(2) - (2)]) ? (yyvsp[(2) - (2)]) : (yyvsp[(1) - (2)]); } 1982 + { (yyval) = (yyvsp[(3) - (3)]); } 1982 1983 break; 1983 1984 1984 1985 case 92: ··· 1986 1987 { (yyval) = (yyvsp[(2) - (2)]) ? (yyvsp[(2) - (2)]) : (yyvsp[(1) - (2)]); } 1987 1988 break; 1988 1989 1989 - case 94: 1990 + case 93: 1991 + 1992 + { (yyval) = (yyvsp[(2) - (2)]) ? (yyvsp[(2) - (2)]) : (yyvsp[(1) - (2)]); } 1993 + break; 1994 + 1995 + case 95: 1990 1996 1991 1997 { (yyval) = NULL; } 1992 1998 break; 1993 1999 1994 - case 95: 2000 + case 96: 1995 2001 1996 2002 { /* For version 2 checksums, we don't want to remember 1997 2003 private parameter names. */ ··· 2005 2001 } 2006 2002 break; 2007 2003 2008 - case 96: 2004 + case 97: 2009 2005 2010 2006 { remove_node((yyvsp[(1) - (1)])); 2011 2007 (yyval) = (yyvsp[(1) - (1)]); 2012 2008 } 2013 - break; 2014 - 2015 - case 97: 2016 - 2017 - { (yyval) = (yyvsp[(4) - (4)]); } 2018 2009 break; 2019 2010 2020 2011 case 98: ··· 2019 2020 2020 2021 case 99: 2021 2022 2022 - { (yyval) = (yyvsp[(2) - (2)]); } 2023 + { (yyval) = (yyvsp[(4) - (4)]); } 2023 2024 break; 2024 2025 2025 2026 case 100: 2026 2027 2027 - { (yyval) = (yyvsp[(3) - (3)]); } 2028 + { (yyval) = (yyvsp[(2) - (2)]); } 2028 2029 break; 2029 2030 2030 2031 case 101: ··· 2034 2035 2035 2036 case 102: 2036 2037 2038 + { (yyval) = (yyvsp[(3) - (3)]); } 2039 + break; 2040 + 2041 + case 103: 2042 + 2037 2043 { struct string_list *decl = *(yyvsp[(2) - (3)]); 2038 2044 *(yyvsp[(2) - (3)]) = NULL; 2039 2045 add_symbol(current_name, SYM_NORMAL, decl, is_extern); ··· 2046 2042 } 2047 2043 break; 2048 2044 2049 - case 103: 2045 + case 104: 2050 2046 2051 2047 { (yyval) = NULL; } 2052 2048 break; 2053 2049 2054 - case 105: 2055 - 2056 - { remove_list((yyvsp[(2) - (2)]), &(*(yyvsp[(1) - (2)]))->next); (yyval) = (yyvsp[(2) - (2)]); } 2057 - break; 2058 - 2059 2050 case 106: 2060 2051 2061 - { (yyval) = (yyvsp[(3) - (3)]); } 2052 + { remove_list((yyvsp[(2) - (2)]), &(*(yyvsp[(1) - (2)]))->next); (yyval) = (yyvsp[(2) - (2)]); } 2062 2053 break; 2063 2054 2064 2055 case 107: ··· 2063 2064 2064 2065 case 108: 2065 2066 2066 - { (yyval) = NULL; } 2067 + { (yyval) = (yyvsp[(3) - (3)]); } 2067 2068 break; 2068 2069 2069 - case 111: 2070 + case 109: 2070 2071 2071 - { (yyval) = (yyvsp[(2) - (2)]); } 2072 + { (yyval) = NULL; } 2072 2073 break; 2073 2074 2074 2075 case 112: 2075 2076 2076 - { (yyval) = (yyvsp[(3) - (3)]); } 2077 + { (yyval) = (yyvsp[(2) - (2)]); } 2077 2078 break; 2078 2079 2079 2080 case 113: 2080 2081 2081 - { (yyval) = (yyvsp[(2) - (2)]); } 2082 + { (yyval) = (yyvsp[(3) - (3)]); } 2082 2083 break; 2083 2084 2084 2085 case 114: 2085 2086 2086 - { (yyval) = NULL; } 2087 + { (yyval) = (yyvsp[(2) - (2)]); } 2087 2088 break; 2088 2089 2089 - case 117: 2090 + case 115: 2090 2091 2091 - { (yyval) = (yyvsp[(3) - (3)]); } 2092 + { (yyval) = NULL; } 2092 2093 break; 2093 2094 2094 2095 case 118: 2095 2096 2096 - { (yyval) = (yyvsp[(2) - (2)]) ? (yyvsp[(2) - (2)]) : (yyvsp[(1) - (2)]); } 2097 + { (yyval) = (yyvsp[(3) - (3)]); } 2097 2098 break; 2098 2099 2099 2100 case 119: 2100 2101 2101 - { (yyval) = (yyvsp[(2) - (2)]); } 2102 + { (yyval) = (yyvsp[(2) - (2)]) ? (yyvsp[(2) - (2)]) : (yyvsp[(1) - (2)]); } 2102 2103 break; 2103 2104 2104 - case 121: 2105 + case 120: 2105 2106 2106 2107 { (yyval) = (yyvsp[(2) - (2)]); } 2107 2108 break; 2108 2109 2109 2110 case 122: 2110 2111 2111 - { (yyval) = NULL; } 2112 + { (yyval) = (yyvsp[(2) - (2)]); } 2112 2113 break; 2113 2114 2114 - case 124: 2115 + case 123: 2115 2116 2116 - { (yyval) = (yyvsp[(3) - (3)]); } 2117 + { (yyval) = NULL; } 2117 2118 break; 2118 2119 2119 2120 case 125: 2120 2121 2122 + { (yyval) = (yyvsp[(3) - (3)]); } 2123 + break; 2124 + 2125 + case 126: 2126 + 2121 2127 { (yyval) = (yyvsp[(4) - (4)]); } 2122 2128 break; 2123 2129 2124 - case 128: 2130 + case 129: 2125 2131 2126 2132 { 2127 2133 const char *name = strdup((*(yyvsp[(1) - (1)]))->string); ··· 2134 2130 } 2135 2131 break; 2136 2132 2137 - case 129: 2133 + case 130: 2138 2134 2139 2135 { 2140 2136 const char *name = strdup((*(yyvsp[(1) - (3)]))->string); ··· 2143 2139 } 2144 2140 break; 2145 2141 2146 - case 130: 2142 + case 131: 2147 2143 2148 2144 { (yyval) = (yyvsp[(2) - (2)]); } 2149 2145 break; 2150 2146 2151 - case 131: 2147 + case 132: 2152 2148 2153 2149 { (yyval) = NULL; } 2154 2150 break; 2155 2151 2156 - case 133: 2152 + case 134: 2157 2153 2158 2154 { export_symbol((*(yyvsp[(3) - (5)]))->string); (yyval) = (yyvsp[(5) - (5)]); } 2159 2155 break;
+17 -16
scripts/genksyms/parse.tab.h_shipped
··· 72 72 VOID_KEYW = 281, 73 73 VOLATILE_KEYW = 282, 74 74 TYPEOF_KEYW = 283, 75 - EXPORT_SYMBOL_KEYW = 284, 76 - ASM_PHRASE = 285, 77 - ATTRIBUTE_PHRASE = 286, 78 - TYPEOF_PHRASE = 287, 79 - BRACE_PHRASE = 288, 80 - BRACKET_PHRASE = 289, 81 - EXPRESSION_PHRASE = 290, 82 - CHAR = 291, 83 - DOTS = 292, 84 - IDENT = 293, 85 - INT = 294, 86 - REAL = 295, 87 - STRING = 296, 88 - TYPE = 297, 89 - OTHER = 298, 90 - FILENAME = 299 75 + VA_LIST_KEYW = 284, 76 + EXPORT_SYMBOL_KEYW = 285, 77 + ASM_PHRASE = 286, 78 + ATTRIBUTE_PHRASE = 287, 79 + TYPEOF_PHRASE = 288, 80 + BRACE_PHRASE = 289, 81 + BRACKET_PHRASE = 290, 82 + EXPRESSION_PHRASE = 291, 83 + CHAR = 292, 84 + DOTS = 293, 85 + IDENT = 294, 86 + INT = 295, 87 + REAL = 296, 88 + STRING = 297, 89 + TYPE = 298, 90 + OTHER = 299, 91 + FILENAME = 300 91 92 }; 92 93 #endif 93 94
+2
scripts/genksyms/parse.y
··· 98 98 %token VOID_KEYW 99 99 %token VOLATILE_KEYW 100 100 %token TYPEOF_KEYW 101 + %token VA_LIST_KEYW 101 102 102 103 %token EXPORT_SYMBOL_KEYW 103 104 ··· 262 261 | DOUBLE_KEYW 263 262 | VOID_KEYW 264 263 | BOOL_KEYW 264 + | VA_LIST_KEYW 265 265 | TYPE { (*$1)->tag = SYM_TYPEDEF; $$ = $1; } 266 266 ; 267 267
-1
scripts/kallsyms.c
··· 76 76 { 77 77 fprintf(stderr, "Usage: kallsyms [--all-symbols] " 78 78 "[--symbol-prefix=<prefix char>] " 79 - "[--page-offset=<CONFIG_PAGE_OFFSET>] " 80 79 "[--base-relative] < in.map > out.S\n"); 81 80 exit(1); 82 81 }
+6
scripts/mod/modpost.c
··· 609 609 { 610 610 unsigned int crc; 611 611 enum export export; 612 + bool is_crc = false; 612 613 613 614 if ((!is_vmlinux(mod->name) || mod->is_dot_o) && 614 615 strncmp(symname, "__ksymtab", 9) == 0) ··· 619 618 620 619 /* CRC'd symbol */ 621 620 if (strncmp(symname, CRC_PFX, strlen(CRC_PFX)) == 0) { 621 + is_crc = true; 622 622 crc = (unsigned int) sym->st_value; 623 623 sym_update_crc(symname + strlen(CRC_PFX), mod, crc, 624 624 export); ··· 665 663 else 666 664 symname++; 667 665 #endif 666 + if (is_crc) { 667 + const char *e = is_vmlinux(mod->name) ?"":".ko"; 668 + warn("EXPORT symbol \"%s\" [%s%s] version generation failed, symbol will not be versioned.\n", symname + strlen(CRC_PFX), mod->name, e); 669 + } 668 670 mod->unres = alloc_symbol(symname, 669 671 ELF_ST_BIND(sym->st_info) == STB_WEAK, 670 672 mod->unres);
+1 -1
tools/build/Makefile
··· 1 1 ifeq ($(srctree),) 2 - srctree := $(patsubst %/,%,$(dir $(shell pwd))) 2 + srctree := $(patsubst %/,%,$(dir $(CURDIR))) 3 3 srctree := $(patsubst %/,%,$(dir $(srctree))) 4 4 endif 5 5
+1 -1
tools/gpio/Makefile
··· 3 3 bindir ?= /usr/bin 4 4 5 5 ifeq ($(srctree),) 6 - srctree := $(patsubst %/,%,$(dir $(shell pwd))) 6 + srctree := $(patsubst %/,%,$(dir $(CURDIR))) 7 7 srctree := $(patsubst %/,%,$(dir $(srctree))) 8 8 endif 9 9
+1 -1
tools/lib/api/Makefile
··· 2 2 include ../../scripts/utilities.mak # QUIET_CLEAN 3 3 4 4 ifeq ($(srctree),) 5 - srctree := $(patsubst %/,%,$(dir $(shell pwd))) 5 + srctree := $(patsubst %/,%,$(dir $(CURDIR))) 6 6 srctree := $(patsubst %/,%,$(dir $(srctree))) 7 7 srctree := $(patsubst %/,%,$(dir $(srctree))) 8 8 #$(info Determined 'srctree' to be $(srctree))
+1 -1
tools/lib/bpf/Makefile
··· 7 7 MAKEFLAGS += --no-print-directory 8 8 9 9 ifeq ($(srctree),) 10 - srctree := $(patsubst %/,%,$(dir $(shell pwd))) 10 + srctree := $(patsubst %/,%,$(dir $(CURDIR))) 11 11 srctree := $(patsubst %/,%,$(dir $(srctree))) 12 12 srctree := $(patsubst %/,%,$(dir $(srctree))) 13 13 #$(info Determined 'srctree' to be $(srctree))
+1 -1
tools/lib/lockdep/Makefile
··· 50 50 endif 51 51 52 52 ifeq ($(srctree),) 53 - srctree := $(patsubst %/,%,$(dir $(shell pwd))) 53 + srctree := $(patsubst %/,%,$(dir $(CURDIR))) 54 54 srctree := $(patsubst %/,%,$(dir $(srctree))) 55 55 srctree := $(patsubst %/,%,$(dir $(srctree))) 56 56 #$(info Determined 'srctree' to be $(srctree))
+1 -1
tools/lib/subcmd/Makefile
··· 2 2 include ../../scripts/utilities.mak # QUIET_CLEAN 3 3 4 4 ifeq ($(srctree),) 5 - srctree := $(patsubst %/,%,$(dir $(shell pwd))) 5 + srctree := $(patsubst %/,%,$(dir $(CURDIR))) 6 6 srctree := $(patsubst %/,%,$(dir $(srctree))) 7 7 srctree := $(patsubst %/,%,$(dir $(srctree))) 8 8 #$(info Determined 'srctree' to be $(srctree))
+1 -1
tools/lib/traceevent/Makefile
··· 86 86 endif 87 87 88 88 ifeq ($(srctree),) 89 - srctree := $(patsubst %/,%,$(dir $(shell pwd))) 89 + srctree := $(patsubst %/,%,$(dir $(CURDIR))) 90 90 srctree := $(patsubst %/,%,$(dir $(srctree))) 91 91 srctree := $(patsubst %/,%,$(dir $(srctree))) 92 92 #$(info Determined 'srctree' to be $(srctree))
+2 -2
tools/objtool/Makefile
··· 11 11 AR = ar 12 12 13 13 ifeq ($(srctree),) 14 - srctree := $(patsubst %/,%,$(dir $(shell pwd))) 14 + srctree := $(patsubst %/,%,$(dir $(CURDIR))) 15 15 srctree := $(patsubst %/,%,$(dir $(srctree))) 16 16 endif 17 17 18 18 SUBCMD_SRCDIR = $(srctree)/tools/lib/subcmd/ 19 - LIBSUBCMD_OUTPUT = $(if $(OUTPUT),$(OUTPUT),$(PWD)/) 19 + LIBSUBCMD_OUTPUT = $(if $(OUTPUT),$(OUTPUT),$(CURDIR)/) 20 20 LIBSUBCMD = $(LIBSUBCMD_OUTPUT)libsubcmd.a 21 21 22 22 OBJTOOL := $(OUTPUT)objtool
+1 -1
tools/perf/Makefile.perf
··· 100 100 export LC_COLLATE LC_NUMERIC 101 101 102 102 ifeq ($(srctree),) 103 - srctree := $(patsubst %/,%,$(dir $(shell pwd))) 103 + srctree := $(patsubst %/,%,$(dir $(CURDIR))) 104 104 srctree := $(patsubst %/,%,$(dir $(srctree))) 105 105 #$(info Determined 'srctree' to be $(srctree)) 106 106 endif
+1 -1
tools/perf/tests/make
··· 42 42 export LC_COLLATE LC_NUMERIC 43 43 44 44 ifeq ($(srctree),) 45 - srctree := $(patsubst %/,%,$(dir $(shell pwd))) 45 + srctree := $(patsubst %/,%,$(dir $(CURDIR))) 46 46 srctree := $(patsubst %/,%,$(dir $(srctree))) 47 47 #$(info Determined 'srctree' to be $(srctree)) 48 48 endif
-3
tools/power/cpupower/Makefile
··· 108 108 # Now we set up the build system 109 109 # 110 110 111 - # set up PWD so that older versions of make will work with our build. 112 - PWD = $(shell pwd) 113 - 114 111 GMO_FILES = ${shell for HLANG in ${LANGUAGES}; do echo $(OUTPUT)po/$$HLANG.gmo; done;} 115 112 116 113 export CROSS CC AR STRIP RANLIB CFLAGS LDFLAGS LIB_OBJS
+1 -2
tools/power/cpupower/debug/kernel/Makefile
··· 1 1 obj-m := 2 2 3 3 KDIR := /lib/modules/$(shell uname -r)/build 4 - PWD := $(shell pwd) 5 4 KMISC := /lib/modules/$(shell uname -r)/cpufrequtils/ 6 5 7 6 ifeq ("$(CONFIG_X86_TSC)", "y") ··· 8 9 endif 9 10 10 11 default: 11 - $(MAKE) -C $(KDIR) M=$(PWD) 12 + $(MAKE) -C $(KDIR) M=$(CURDIR) 12 13 13 14 clean: 14 15 - rm -rf *.o *.ko .tmp-versions .*.cmd .*.mod.* *.mod.c