u-boot-brain/tools/binman/test
Simon Glass b50e5611a6 binman: Add a function to read ELF symbols
In some cases we need to read symbols from U-Boot. At present we have a
a few cases which does this via 'nm' and 'grep'.

It is better to use objdump since that tells us the size of the symbols
and also whether it is weak or not.

Add a new module which reads ELF information from files. Update existing
uses of 'nm' to use this module.

Signed-off-by: Simon Glass <sjg@chromium.org>
2017-12-12 19:53:45 -07:00
..
01_invalid.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
02_missing_node.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
03_empty.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
04_invalid_entry.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
05_simple.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
06_dual_image.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
07_bad_align.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
08_pack.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
09_pack_extra.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
10_pack_align_power2.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
11_pack_align_size_power2.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
12_pack_inv_align.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
13_pack_inv_size_align.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
14_pack_overlap.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
15_pack_overflow.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
16_pack_image_overflow.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
17_pack_image_size.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
18_pack_image_align.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
19_pack_inv_image_align.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
20_pack_inv_image_align_power2.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
21_image_pad.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
22_image_name.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
23_blob.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
24_sorted.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
25_pack_zero_size.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
26_pack_u_boot_dtb.dts binman: Add basic entry types for U-Boot 2016-12-20 08:09:55 +13:00
27_pack_4gb_no_size.dts binman: Add support for building x86 ROMs 2016-12-20 08:09:55 +13:00
28_pack_4gb_outside.dts binman: Add support for building x86 ROMs 2016-12-20 08:09:55 +13:00
29_x86-rom.dts binman: Add support for building x86 ROMs 2016-12-20 08:09:55 +13:00
30_x86-rom-me-no-desc.dts tools: binman: Add missing filenames for various x86 rom tests 2017-04-10 10:02:03 +08:00
31_x86-rom-me.dts tools: binman: Add missing filenames for various x86 rom tests 2017-04-10 10:02:03 +08:00
32_intel-vga.dts tools: binman: Add missing filenames for various x86 rom tests 2017-04-10 10:02:03 +08:00
33_x86-start16.dts binman: Add support for building x86 ROMs 2016-12-20 08:09:55 +13:00
34_x86_ucode.dts binman: Add support for building x86 ROMs 2016-12-20 08:09:55 +13:00
35_x86_single_ucode.dts binman: Add support for building x86 ROMs 2016-12-20 08:09:55 +13:00
36_u_boot_img.dts binman: Add support for u-boot.img as an input binary 2016-12-20 08:09:55 +13:00
37_x86_no_ucode.dts binman: Add support for building x86 ROMs with SPL 2016-12-20 08:09:55 +13:00
38_x86_ucode_missing_node.dts binman: Add support for building x86 ROMs with SPL 2016-12-20 08:09:55 +13:00
39_x86_ucode_missing_node2.dts binman: Add support for building x86 ROMs with SPL 2016-12-20 08:09:55 +13:00
40_x86_ucode_not_in_image.dts binman: Add support for building x86 ROMs with SPL 2016-12-20 08:09:55 +13:00
41_unknown_pos_size.dts binman: Add support for building x86 ROMs with SPL 2016-12-20 08:09:55 +13:00
42_intel-fsp.dts tools: binman: Add missing filenames for various x86 rom tests 2017-04-10 10:02:03 +08:00
43_intel-cmc.dts tools: binman: Add missing filenames for various x86 rom tests 2017-04-10 10:02:03 +08:00
44_x86_optional_ucode.dts binman: Add support for building x86 ROMs with SPL 2016-12-20 08:09:55 +13:00
45_prop_test.dts fdt: dtoc: Add a full set of property tests 2017-06-02 10:16:47 -06:00
46_intel-vbt.dts tools: binman: Add a new entry type for Intel VBT 2017-09-16 14:57:44 +08:00
47_spl_bss_pad.dts binman: Add test for u-boot-spl-bss-pad 2017-11-22 18:05:38 -07:00
48_x86-start16-spl.dts binman: Add a test for x86-start16-spl 2017-11-22 18:05:38 -07:00
49_x86_ucode_spl.dts binman: Add add test for SPL with a microcode pointer 2017-11-22 18:05:38 -07:00
50_intel_mrc.dts binman: Add add test for using an Intel MRC binary 2017-11-22 18:05:38 -07:00
bss_data binman: Add test for u-boot-spl-bss-pad 2017-11-22 18:05:38 -07:00
bss_data.c binman: Add a function to read ELF symbols 2017-12-12 19:53:45 -07:00
bss_data.lds binman: Add test for u-boot-spl-bss-pad 2017-11-22 18:05:38 -07:00
descriptor.bin binman: Add support for building x86 ROMs 2016-12-20 08:09:55 +13:00
Makefile binman: Add test for u-boot-spl-bss-pad 2017-11-22 18:05:38 -07:00
u_boot_no_ucode_ptr binman: Add support for building x86 ROMs with SPL 2016-12-20 08:09:55 +13:00
u_boot_no_ucode_ptr.c binman: Add a Makefile for test-program compilation 2017-11-22 18:05:38 -07:00
u_boot_ucode_ptr binman: Add support for building x86 ROMs 2016-12-20 08:09:55 +13:00
u_boot_ucode_ptr.c binman: Add a function to read ELF symbols 2017-12-12 19:53:45 -07:00
u_boot_ucode_ptr.lds binman: Add support for building x86 ROMs 2016-12-20 08:09:55 +13:00