Merging program properties Discarded input sections .note.gnu.property 0x0000000000000000 0x20 bar.o Memory Configuration Name Origin Length Attributes *default* 0x0000000000000000 0xffffffffffffffff Linker script and memory map LOAD foo.o LOAD bar.o .interp *(.interp) .note.gnu.property 0x0000000000000000 0x20 .note.gnu.property 0x0000000000000000 0x20 foo.o .note.gnu.build-id *(.note.gnu.build-id) .hash *(.hash) .gnu.hash *(.gnu.hash) .dynsym *(.dynsym) .dynstr *(.dynstr) .gnu.version *(.gnu.version) .gnu.version_d *(.gnu.version_d) .gnu.version_r *(.gnu.version_r) .rela.init *(.rela.init) .rela.text *(.rela.text) .rela.fini *(.rela.fini) .rela.rodata *(.rela.rodata) .rela.data.rel.ro *(.rela.data.rel.ro) .rela.data *(.rela.data) .rela.tdata *(.rela.tdata) .rela.tbss *(.rela.tbss) .rela.ctors *(.rela.ctors) .rela.dtors *(.rela.dtors) .rela.got *(.rela.got) .rela.bss *(.rela.bss) .rela.ldata *(.rela.ldata) .rela.lbss *(.rela.lbss) .rela.lrodata *(.rela.lrodata) .rela.ifunc *(.rela.ifunc) .rela.plt *(.rela.plt) .init *(SORT_NONE(.init)) .plt *(.plt) .plt.got *(.plt.got) .plt.sec *(.plt.sec) .text 0x0000000000000000 0x0 *(.text .stub) .text 0x0000000000000000 0x0 foo.o .text 0x0000000000000000 0x0 bar.o *(.gnu.warning) .fini *(SORT_NONE(.fini)) .rodata *(.rodata) .rodata1 *(.rodata1) .eh_frame_hdr *(.eh_frame_hdr) .eh_frame *(.eh_frame) .gcc_except_table *(.gcc_except_table) .gnu_extab *(.gnu_extab*) .exception_ranges *(.exception_ranges) .eh_frame *(.eh_frame) .gnu_extab *(.gnu_extab) .gcc_except_table *(.gcc_except_table) .exception_ranges *(.exception_ranges) .tdata *(.tdata) .tbss *(.tbss) .jcr *(.jcr) .dynamic *(.dynamic) .got *(.got) .got.plt *(.got.plt) .data 0x0000000000000000 0xc *(.data) .data 0x0000000000000000 0x8 foo.o 0x0000000000000000 foo .data 0x0000000000000008 0x4 bar.o 0x0000000000000008 bar .data1 *(.data1) .bss 0x0000000000000000 0x3e *(.bss) .bss 0x0000000000000000 0x11 foo.o 0x0000000000000000 code *fill* 0x0000000000000011 0xf .bss 0x0000000000000020 0x1e bar.o 0x0000000000000020 dead .lbss *(.lbss) .lrodata *(.lrodata) .ldata *(.ldata) .stab *(.stab) .stabstr *(.stabstr) .stab.excl *(.stab.excl) .stab.exclstr *(.stab.exclstr) .stab.index *(.stab.index) .stab.indexstr *(.stab.indexstr) .comment 0x0000000000000000 0x56 *(.comment) .comment 0x0000000000000000 0x2b foo.o .comment 0x000000000000002b 0x2b bar.o .note.GNU-stack 0x0000000000000000 0x0 .note.GNU-stack 0x0000000000000000 0x0 foo.o .note.GNU-stack 0x0000000000000000 0x0 bar.o .gnu.build.attributes *(.gnu.build.attributes) .debug *(.debug) .line *(.line) .debug_srcinfo *(.debug_srcinfo) .debug_sfnames *(.debug_sfnames) .debug_aranges *(.debug_aranges) .debug_pubnames *(.debug_pubnames) .debug_info *(.debug_info) .debug_abbrev *(.debug_abbrev) .debug_line *(.debug_line) .debug_frame *(.debug_frame) .debug_str *(.debug_str) .debug_loc *(.debug_loc) .debug_macinfo *(.debug_macinfo) .debug_weaknames *(.debug_weaknames) .debug_funcnames *(.debug_funcnames) .debug_typenames *(.debug_typenames) .debug_varnames *(.debug_varnames) .debug_pubtypes *(.debug_pubtypes) .debug_ranges *(.debug_ranges) .debug_macro *(.debug_macro) .debug_addr *(.debug_addr) .gnu.attributes *(.gnu.attributes) OUTPUT(merge-1.o elf64-x86-64)