https://sourceware.org/bugzilla/show_bug.cgi?id=19547
Andrei Borzenkov <arvidjaar at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #5 from Andrei Borzenkov <arvidjaar at gmail dot com> ---
Attached is all_video.module which is postprocessed for final run-time object.
Post processing is done using
bor@bor-Latitude-E5450:/tmp$ objcopy -R .modename -R .moddeps all_video.module
all_video.mod.tmp
bor@bor-Latitude-E5450:/tmp$ printf "all_video\0" > modname
bor@bor-Latitude-E5450:/tmp$ printf
"efi_gop\0efi_uga\0video_bochs\0video_cirrus\0" > moddeps
bor@bor-Latitude-E5450:/tmp$ objcopy --add-section .modname=modname
--add-section .moddeps=moddeps all_video.mod.tmp
bor@bor-Latitude-E5450:/tmp$ strip --strip-unneeded -K grub_mod_init -K
grub_mod_fini -K _grub_mod_init -K _grub_mod_fini -R .note.gnu.gold-version -R
.note.GNU-stack -R .note -R .comment -R .ARM.exidx all_video.mod.tmp
One version is produced using binutils 2.17, another - 2.24.
bor@bor-Latitude-E5450:/tmp$ LC_ALL=C objdump -t all_video.mod.2.17
all_video.mod.2.17: file format elf32-i386
SYMBOL TABLE:
no symbols
bor@bor-Latitude-E5450:/tmp$ LC_ALL=C objdump -t all_video.mod.2.24
all_video.mod.2.24: file format elf32-i386
SYMBOL TABLE:
00000000 l d .text 00000000 .text
00000000 l d .data 00000000 .data
00000000 l d .module_license 00000000 .module_license
00000000 l d .bss 00000000 .bss
00000000 l d .moddeps 00000000 .moddeps
00000000 l d .modname 00000000 .modname
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils