Subject: Re: Adding Multiboot support (or not)
To: None <tech-kern@netbsd.org>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: tech-kern
Date: 02/11/2006 12:19:35
On Sat, Feb 11, 2006 at 11:16:24AM +0000, David Laight wrote:
> On Sat, Feb 11, 2006 at 11:22:39AM +0100, Pavel Cahyna wrote:
> >
> >    03     .rodata.str1.1 .rodata.str1.32 link_set_malloc_types link_set_ieee80211_funcs link_set_sysctl_funcs link_set_domains link_set_pools link_set_vfsops link_set_vfs_hooks link_set_evcnts link_set_dkwedge_methods link_set_bufq_strats .rodata.str1.4
> > 
> > How would you handle all the sections which went to the segment 03,
> > without knowing the names of all the link sets?
> 
> Link it once, find the names of the sections, update the linker script and
> link again.

This is a possibility, but maybe running objdump -wh on all *.o files,
grepping the names of the sections, updating the script and link only once
would be quicker?

Pavel