RE: binutils status

2002-05-21 Thread Ralf Habacker

 3) Ralf's patch for objdump/cygwin crashes on auto-imported libs

 Nick Clifton has applied a patch for a similar problem, I will look if this
 solve this already.

This patch does not help in this case. I will inspect this and supply a updated
patch.

Ralf






RE: binutils status ?

2002-05-21 Thread Ralf Habacker

  3) Ralf's patch for objdump/cygwin crashes on auto-imported libs
 
  Nick Clifton has applied a patch for a similar problem, I will look if this
  solve this already.
 
I was wrong, it was Laurent Pinchart, who has applied this patch.

 This patch does not help in this case. I will inspect this and supply
 a updated
 patch.

In peXXigen.c Line 1208 there is a case handling rebinded imports, which isn't
affected by Laurent's Patch.

  /* If the time stamp is not zero, the import address
 table holds actual addresses.  */
  if (time_stamp != 0
   first_thunk != 0
   first_thunk != hint_addr)
fprintf (file, \t%04lx,
(1)  (long) bfd_get_32 (abfd, data + first_thunk - adj + j));
   ^^
this fails in case of rebinded apps or dll, that means first_thunk points into
the text segment
this printing should goes after laurent patch, when the different section is
loaded

  fprintf (file, \n);
}
}

--- here starts Laurant's patch ---

  if (hint_addr != first_thunk  time_stamp == 0)
{
  bfd_byte *ft_data;
  asection *ft_section;
snip

Laurant: Can you give a hint how the line marked with (1) should be changed ?

Ralf




Re: New SGML/XML packages

2002-05-21 Thread Jon Foster

Hi Peter,

Thanks for reviewing these packages.

 sgml-base-1.01, xml-base-1.1:
 A bit messy. How are these resources related? If somebody wanted to add
 another bit, how would you release that?

Looking at these packages again, I agree with you that sgml-base and
xml-base had too many miscellaneous DTDs.  I've cut down sgml-base so that
it only contains the catalog tool, the ISO entities, and the HTML DTDs.  All
these are components are essential, and unlikely to change.  I've cut down
xml-base and split it into two - there are now separate xml-char-ent and
xhtml packages.  Since both of these are likely to change, I want them
separate so they are easier to maintain.

 DSSSL and XSLT stylesheets:
 Different versions of stylesheets might need to co-exist, in my humble
 experience. Not easy with this directory layout.
At the point you need to do that, you're going to have to download and
install the packages yourself, rather than using setup.exe.  If you do that,
you can rename the directory and (for DSSSL) fix up the catalog file
manually.

 docbook-sgml-4.1, docbook-xml-4.1.2:
 Why bundle various DocBook versions into one package? They do not depend
 on each other. How do you intend to release forthcoming DocBook 4.2?
The problem is simple: How many packages do we release?  I've proposed two -
docbook-sgml and docbook-xml.  If we do every version as a separate package,
then we have ten different docbook packages.  This seems a little excessive,
and IMHO is also likely to confuse users.

 Please note that the effort to make a directory layout for XML and
 SGML part of the LSB [1] is now continued. There's a mailing list [2].
 The latest proposal is, I believe, at [3] (and it was sorely lacking wrt.
 XML).
I looked at the FHS when I was creating these packages.  It hardly mentions
XML at all, only SGML.  There doesn't seem to be a consensus opinion on XML
in the mailing list archives.

For now, I've complied with the FHS as far as practical - e.g. the SGML
master catalog is in the right place, SGML DTDs are in the correct location.
I hope that it won't be too hard to migrate from my current packages to
whatever the LSB (eventually) decides.

 By the way, the Debian distribution differs in a number of details [4].
Yep, when I was putting these packages together I started off with the
Debian packages.  The install-sgmlcatalog script is borrowed from Debian.

Thanks  regards,

Jon Foster
--
The knack of flying is learning how to throw yourself at
the ground and miss. - Hitchhiker's Guide to the Galaxy

E-mail: [EMAIL PROTECTED]
web: http://www.jon-foster.co.uk/